Changeset 617


Ignore:
Timestamp:
May 9, 2011, 12:55:27 AM (6 years ago)
Author:
sam
Message:

music: open audio device with a better output quality. Even if our
sound samples are still only 8-bit, the MIDI music will benefit from it.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • abuse/trunk/src/sdlport/sound.cpp

    r616 r617  
    6666    free( sfxdir );
    6767
    68     if (Mix_OpenAudio(11025, AUDIO_U8, 2, 128) < 0)
     68    if (Mix_OpenAudio(44100, AUDIO_S16SYS, 2, 128) < 0)
    6969    {
    7070        printf( "Sound: Unable to open audio - %s\nSound: Disabled (error)\n", SDL_GetError() );
Note: See TracChangeset for help on using the changeset viewer.