[vlc-devel] how to change stereo to mono

Kaarlo Räihä kaarlo.raiha at gmail.com
Mon Mar 5 18:52:16 CET 2012


5. maaliskuuta 2012 18.46 Sukrit Sangwan <sukritsangwan at gmail.com>kirjoitti:

> How do we set output format to mono (input format is stereo) in a audio
> filter.
> Is setting *p_filter->fmt_out.audio.i_channels = 1* enough??
>

You might also want to adjust p_filter->fmt_out.audio.i_physical_channels
like is done in
http://git.videolan.org/?p=vlc.git;a=blob;f=modules/audio_filter/channel_mixer/mono.c


>
> Regards,
> Sukrit Sangwan
>
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> http://mailman.videolan.org/listinfo/vlc-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20120305/422074f7/attachment.html>


More information about the vlc-devel mailing list