mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-12-13 19:49:36 +00:00
Merge pull request #31 from Link4Electronics/master
Use AUDIO_S16SYS for native byte order
This commit is contained in:
@@ -571,7 +571,7 @@ bool GpAudioDriver_SDL2::Init()
|
||||
|
||||
requestedSpec.callback = GpAudioDriver_SDL2::StaticMixAudio;
|
||||
requestedSpec.channels = 1;
|
||||
requestedSpec.format = AUDIO_S16;
|
||||
requestedSpec.format = AUDIO_S16SYS;
|
||||
requestedSpec.freq = m_properties.m_sampleRate;
|
||||
requestedSpec.samples = kMixChunkSamples;
|
||||
requestedSpec.userdata = this;
|
||||
|
||||
Reference in New Issue
Block a user