Author: janderwald
Date: Mon Aug 17 15:39:20 2009
New Revision: 42756
URL:
http://svn.reactos.org/svn/reactos?rev=42756&view=rev
Log:
- Fix a big bug in the samplerate conversion routine
Modified:
trunk/reactos/drivers/wdm/audio/filters/kmixer/pin.c
Modified: trunk/reactos/drivers/wdm/audio/filters/kmixer/pin.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/wdm/audio/filters/…
==============================================================================
--- trunk/reactos/drivers/wdm/audio/filters/kmixer/pin.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/wdm/audio/filters/kmixer/pin.c [iso-8859-1] Mon Aug 17 15:39:20
2009
@@ -127,13 +127,13 @@
{
PUSHORT Res = (PUSHORT)ResultOut;
- src_float_to_short_array(FloatIn, (short*)Res, Data.output_frames_gen *
NumChannels);
+ src_float_to_short_array(FloatOut, (short*)Res, Data.output_frames_gen *
NumChannels);
}
else if (BytesPerSample == 4)
{
PULONG Res = (PULONG)ResultOut;
- src_float_to_int_array(FloatIn, (int*)Res, Data.output_frames_gen *
NumChannels);
+ src_float_to_int_array(FloatOut, (int*)Res, Data.output_frames_gen *
NumChannels);
}