mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-22 00:06:59 +02:00
Properly set the mono expansion mode on the engine node.
This commit is contained in:
@@ -71847,6 +71847,7 @@ MA_API ma_result ma_engine_node_init_preallocated(const ma_engine_node_config* p
|
||||
|
||||
pEngineNode->pEngine = pConfig->pEngine;
|
||||
pEngineNode->sampleRate = (pConfig->sampleRate > 0) ? pConfig->sampleRate : ma_engine_get_sample_rate(pEngineNode->pEngine);
|
||||
pEngineNode->monoExpansionMode = pConfig->monoExpansionMode;
|
||||
pEngineNode->pitch = 1;
|
||||
pEngineNode->oldPitch = 1;
|
||||
pEngineNode->oldDopplerPitch = 1;
|
||||
|
||||
Reference in New Issue
Block a user