Function devices::virtio::snd::common_backend::create_stream_info_builders
source · pub(crate) fn create_stream_info_builders(
params: &Parameters,
snd_data: &SndData,
keep_rds: &mut Vec<RawDescriptor>,
card_index: usize
) -> Result<Vec<StreamInfoBuilder>, Error>
Expand description
Creates StreamInfoBuilder
s by calling create_stream_source_generators()
then zip
them with crate::virtio::snd::parameters::PCMDeviceParameters
from the params to set
the parameters on each StreamInfoBuilder
(e.g. effects).