Remove conditional __EMSCRIPTEN__
Not required anymore
This commit is contained in:
parent
4de362b405
commit
bf429a0058
@ -422,9 +422,6 @@ void InitAudioDevice(void)
|
||||
config.sampleRate = AUDIO_DEVICE_SAMPLE_RATE;
|
||||
config.dataCallback = OnSendAudioDataToDevice;
|
||||
config.pUserData = NULL;
|
||||
#if defined(__EMSCRIPTEN__)
|
||||
config.periodSizeInMilliseconds = 33;
|
||||
#endif
|
||||
|
||||
result = ma_device_init(&AUDIO.System.context, &config, &AUDIO.System.device);
|
||||
if (result != MA_SUCCESS)
|
||||
|
Loading…
Reference in New Issue
Block a user