Commit 88fbf536 authored by Jean-Paul Saman's avatar Jean-Paul Saman

Fake the mono stream by duplicating it in both channels

parent b531cabe
......@@ -262,7 +262,7 @@ static unsigned int stereo_to_mono( aout_instance_t * p_aout, aout_filter_t *p_f
for( n = 0; n < (p_input->i_nb_samples * p_sys->i_nb_channels); n++ )
{
/* Fake real mono. */
p_out[n] = (p_in[n] + p_in[n+1]) >> 1;
p_out[n] = p_out[n+1] = (p_in[n] + p_in[n+1]) >> 1;
n++;
}
return n;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment