mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-21 15:56:58 +02:00
Fix an error with the previous commit.
This commit is contained in:
+3
-1
@@ -70063,7 +70063,9 @@ MA_API ma_result ma_engine_init(const ma_engine_config* pConfig, ma_engine* pEng
|
||||
*/
|
||||
#if !defined(MA_NO_DEVICE_IO)
|
||||
{
|
||||
listenerConfig.pChannelMapOut = pEngine->pDevice->playback.channelMap;
|
||||
if (pEngine->pDevice != NULL) {
|
||||
listenerConfig.pChannelMapOut = pEngine->pDevice->playback.channelMap;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user