Remove conditional __EMSCRIPTEN__

Not required anymore
This commit is contained in:
raysan5 2020-07-13 18:57:46 +02:00
parent 4de362b405
commit bf429a0058

View File

@ -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)