[vlc-devel] Q: how does a module declare it's "capabilities" (e.g. # of input channels, # of output channels)

Rémi Denis-Courmont remi at remlab.net
Mon Sep 19 00:03:54 CEST 2011


   Hello,

On Friday 16 September 2011, Walt Horat wrote:
> For instance an audio module wants to declare "I take 6, or 8 channels in
> and can return 6, 4,  2 or 1" channels out.
> 
> Or am I not thinking about this the right way?

The input defines the channels count and list.

The output gets the input channels count and list, and is free to request 
whatever channels count and list it wants accordingly. The core will try to 
remix if required.

-- 
Rémi Denis-Courmont
http://www.remlab.info



More information about the vlc-devel mailing list