<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link="#0563C1" vlink="#954F72"><div class=WordSection1><p class=MsoNormal>I’m using a USB audio interface under Ubuntu/ALSA. It has 6 input channels and 10 output channels. I am having problems getting input working correctly with this device with gstreamer. I believe that this has to do with the bitmask that gstreamer assumes for the input. <o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>When I look at debug output I see that it is using channel-mask=(bitmask)0x3f. This is certainly correct for, e.g. 7.1 audio, however, I think this is incorrect for my audio interface. I know that the output channel bitmask for this device is 0x000, and I need to set all output channels to channel-mask=-3 when I sink my pipeline to this device. I assume that the input (alsasrc) bitmask also needs to be set to 0x000, however, I have not been able to find a way to do this. I am using Gstreamer version 1.8.3<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>When I tell gstreamer to use the audio interface as the source for the pipeline all I get it a kind of “ground loop hum” type of noise. If I use a separate program to get data from the device and send it to the ALSA loopback, and then use the loopback as gstreamer alsasrc everything works fine. In both cases the pipeline runs without error. The problem is definitely within gstreamer and is very likely channel-mask related.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Any advice on how to solve this problem under gst-launch is appreciated.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Charlie Laub<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p></div></body></html>