GNOME Bugzilla – Bug 719421
alsasink docs don't mention channel-mask requirement
Last modified: 2016-02-21 22:50:40 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.
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?
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!