GNOME Bugzilla – Bug 755228
audiointerleave: Won't negotiate with alsasink
Last modified: 2018-11-03 11:41:41 UTC
Audio interleave in the case the channel-positions property is unset, will produce in caps channel-mask=0. This won't negotiate with alsasink (but works with pulsesink). gst-launch-1.0 -v \ audiotestsrc ! i.sink_0 \ audiotestsrc ! i.sink_1 \ audiointerleave channel-positions-from-input=1 name=i ! alsasink While with pulse it works: gst-launch-1.0 -v \ audiotestsrc ! i.sink_0 \ audiotestsrc ! i.sink_1 \ audiointerleave channel-positions-from-input=1 name=i ! pulsesink
Created attachment 311647 [details] [review] alsasink: Allow unpositioned multi-channel stream This reflects pulsesink behaviour. Basically, if the application did't specific a channel-mask, just let the driver use it's default ordering. This is of course not-deterministic, but can be a valid use case.
Rethinking this, it's likely that audiointerleave should pick a default mask for the number of channels.
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/issues/225.