diff options
| author | David Reid <[email protected]> | 2017-12-03 11:20:02 +1000 |
|---|---|---|
| committer | David Reid <[email protected]> | 2017-12-03 11:20:02 +1000 |
| commit | 82f88e5df9ec7384b1f6a97a144371c37f6768eb (patch) | |
| tree | 360aedd94127b2e8c31cca9cfc0e32deed388130 /src/audio.c | |
| parent | a0d9913c7cf2dce11f8d45e38923c69eae5d6f5e (diff) | |
| download | raylib-82f88e5df9ec7384b1f6a97a144371c37f6768eb.tar.gz raylib-82f88e5df9ec7384b1f6a97a144371c37f6768eb.zip | |
Potential fixes for Raspberry Pi.
Diffstat (limited to 'src/audio.c')
| -rw-r--r-- | src/audio.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/audio.c b/src/audio.c index 497deaf8..d397b064 100644 --- a/src/audio.c +++ b/src/audio.c @@ -401,10 +401,10 @@ void InitAudioDevice(void) mal_device_config deviceConfig = mal_device_config_init(DEVICE_FORMAT, DEVICE_CHANNELS, DEVICE_SAMPLE_RATE, NULL, OnSendAudioDataToDevice); // Special case for PLATFORM_RPI. -#if defined(PLATFORM_RPI) - deviceConfig.alsa.noMMap = MAL_TRUE; - deviceConfig.bufferSizeInFrames = 2048; -#endif +//#if defined(PLATFORM_RPI) +// deviceConfig.alsa.noMMap = MAL_TRUE; +// deviceConfig.bufferSizeInFrames = 2048; +//#endif result = mal_device_init(&context, mal_device_type_playback, NULL, &deviceConfig, NULL, &device); if (result != MAL_SUCCESS) |
