mirror of
https://github.com/ekeeke/Genesis-Plus-GX.git
synced 2024-12-25 02:31:49 +01:00
[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
Block a user