changed PLATFORM_WEB to __EMSCRIPTEN__
This commit is contained in:
parent
2d1ae8fd1e
commit
42b6a44c8d
|
|
@ -419,7 +419,7 @@ void InitAudioDevice(void)
|
||||||
config.sampleRate = AUDIO_DEVICE_SAMPLE_RATE;
|
config.sampleRate = AUDIO_DEVICE_SAMPLE_RATE;
|
||||||
config.dataCallback = OnSendAudioDataToDevice;
|
config.dataCallback = OnSendAudioDataToDevice;
|
||||||
config.pUserData = NULL;
|
config.pUserData = NULL;
|
||||||
#if defined(PLATFORM_WEB)
|
#if defined(__EMSCRIPTEN__)
|
||||||
config.periodSizeInMilliseconds = 33;
|
config.periodSizeInMilliseconds = 33;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user