[vlc-devel] [PATCH] karaoke : setting the output to mono
sukritsangwan at gmail.com
Tue Mar 6 12:16:35 CET 2012
ok i got it. I am rewriring it.
what i am now doing is creating a new output buffer whose size is half of
on execution the pitch increases and there are gaps in the audio.
kindly guide me.
* float *p_out_buf = (float *)p_out_block->p_buffer;
for (unsigned i = block->i_nb_samples; i > 0; i--)
*p_out_buf = (spl - spl) * factor;
spl += 2;
one more thing why there is a multiplication by factor ( 1/sqrt(2) )
2012/3/6 Rémi Denis-Courmont <remi at remlab.net>
> On Tue, 6 Mar 2012 01:49:10 -0800, Sukrit Sangwan
> <sukritsangwan at gmail.com>
> > i have set the output of karaoke to mono.
> > i have tested, it works fine
> The only thing this patch does is leak memory.
> Rémi Denis-Courmont
> Sent from my collocated server
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vlc-devel