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 719421 - alsasink docs don't mention channel-mask requirement
alsasink docs don't mention channel-mask requirement
Status: RESOLVED INCOMPLETE
Product: GStreamer
Classification: Platform
Component: documentation
1.x
Other All
: Normal minor
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2013-11-27 14:04 UTC by Tim Sheridan
Modified: 2016-02-21 22:50 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Tim Sheridan 2013-11-27 14:04:23 UTC
To get alsasink to work with >2 channel audio, you need to specify 'channel-mask' in the caps. This requirement is noted elsewhere in the 1.x documentation, but not in the alsasink documentation itself. A note here of this would be useful.

I only became aware of this requirement when porting a 0.10 plugin to 1.x, when my multichannel audio didn't work because I wasn't setting a 'channel-mask'. I'm not sure if this is something that should have been done anyway with 0.10. Either way, this change in behaviour should probably be noted in the 0.10 -> 1.0 porting guide.
Comment 1 Sebastian Dröge (slomo) 2014-04-02 21:15:05 UTC
That's really the same as in 0.10 with the channel-layout caps field there. For creating raw audio caps you should always use GstAudioFormat, it will make sure to set all the required fields to the correct values.

Can you provide a patch against the documentation if you still think this should be mentioned somewhere else too?
Comment 2 Tim-Philipp Müller 2016-02-21 22:50:40 UTC
Closing this bug report as no further information has been provided. Please feel free to reopen this bug report if you can provide the information that was asked for in a previous comment.
Thanks!