After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 755228 - audiointerleave: Won't negotiate with alsasink
audiointerleave: Won't negotiate with alsasink
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
git master
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2015-09-18 15:16 UTC by Nicolas Dufresne (ndufresne)
Modified: 2018-11-03 11:41 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
alsasink: Allow unpositioned multi-channel stream (3.00 KB, patch)
2015-09-18 17:41 UTC, Nicolas Dufresne (ndufresne)
none Details | Review

Description Nicolas Dufresne (ndufresne) 2015-09-18 15:16:59 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
Comment 1 Nicolas Dufresne (ndufresne) 2015-09-18 17:41:14 UTC
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.
Comment 2 Nicolas Dufresne (ndufresne) 2016-01-06 15:57:52 UTC
Rethinking this, it's likely that audiointerleave should pick a default mask for the number of channels.
Comment 3 GStreamer system administrator 2018-11-03 11:41:41 UTC
-- 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.