Constant libpulse_binding::stream::flags::FIX_CHANNELS [−][src]
pub const FIX_CHANNELS: FlagSet;
Use the associated constants on FlagSet.
Use the number of channels and the channel map of the sink, and possibly ignore the number
of channels and the map the sample spec and the passed channel map contains. Usage similar
to FIX_FORMAT.
When creating streams with Stream::new_extended(), this flag has no effect. If you
specify a format with PCM encoding, and you want the server to choose the channel count
and/or channel map, then you should leave the channels and/or the channel map unspecified in
the Info object. This also means that you can’t use Info::new_from_sample_spec(),
because that function always sets the channel count (but if you only want to leave the
channel map unspecified, then Info::new_from_sample_spec() works, because the channel
map parameter is optional).