[SDL] fixed sound format on big-endian platforms
This commit is contained in:
parent
9d288726bf
commit
9630e59552
|
@ -74,7 +74,7 @@ static int sdl_sound_init()
|
|||
}
|
||||
|
||||
as_desired.freq = SOUND_FREQUENCY;
|
||||
as_desired.format = AUDIO_S16LSB;
|
||||
as_desired.format = AUDIO_S16SYS;
|
||||
as_desired.channels = 2;
|
||||
as_desired.samples = SOUND_SAMPLES_SIZE;
|
||||
as_desired.callback = sdl_sound_callback;
|
||||
|
|
|
@ -77,7 +77,7 @@ static int sdl_sound_init()
|
|||
}
|
||||
|
||||
as_desired.freq = SOUND_FREQUENCY;
|
||||
as_desired.format = AUDIO_S16LSB;
|
||||
as_desired.format = AUDIO_S16SYS;
|
||||
as_desired.channels = 2;
|
||||
as_desired.samples = SOUND_SAMPLES_SIZE;
|
||||
as_desired.callback = sdl_sound_callback;
|
||||
|
|
Loading…
Reference in New Issue