[Audio Output] Fix equalizer support
Equalizer was copying the output of the equalizer repeatedly to the first output channel, instead of copying each channel correctly. This had the effect of making the equalizer output adjusted audio to only the left channel in stereo output, and possibly render the stream sounding weird. Signed-off-by: Christopher Snowhill <kode54@gmail.com>
This commit is contained in:
parent
70b01a7cf1
commit
a53a8ecb82
1 changed files with 1 additions and 1 deletions
|
@ -757,7 +757,7 @@ current_device_listener(AudioObjectID inObjectID, UInt32 inNumberAddresses, cons
|
|||
timeStamp.mSampleTime += ((double)samplesRendered) / streamFormat.mSampleRate;
|
||||
|
||||
for(int i = 0; i < channels; ++i) {
|
||||
cblas_scopy(samplesRendered, &eqBuffer[1024 * i], 1, samplePtr, channels);
|
||||
cblas_scopy(samplesRendered, &eqBuffer[1024 * i], 1, samplePtr + i, channels);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue