Build: Enable conformance mode

This commit is contained in:
Connor McLaughlin
2019-10-27 01:58:28 +10:00
parent e99f0a4acf
commit 41574d92e8
9 changed files with 66 additions and 2 deletions

View File

@ -18,9 +18,9 @@ bool SDLAudioStream::OpenDevice()
SDL_AudioSpec spec = {};
spec.freq = m_output_sample_rate;
spec.channels = m_channels;
spec.channels = static_cast<Uint8>(m_channels);
spec.format = AUDIO_S16;
spec.samples = m_buffer_size;
spec.samples = static_cast<Uint16>(m_buffer_size);
spec.callback = AudioCallback;
spec.userdata = static_cast<void*>(this);