<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
Thanks Col! That addresses my query perfectly. By "mixer" I meant a DSP that "mixes and routes" multiple analog and digital inputs to analog (5.1) or digital output.<BR>
<BR>
I am working on the implementation of a audio policy management module using PA. It requires me to understand both ;) the use of pulseaudio by apps and the implementation of PA/ ALSA mixer or sound card drivers on an automotive platform.<BR>
<BR>
~J<BR>
<A href="mailto:jayan_john@hotmail.com">jayan_john@hotmail.com</A><BR>
"Woking on Meego, breaking in PulseAudio"<BR>
<BR>
> To: pulseaudio-discuss@lists.freedesktop.org<BR>> From: gmane@colin.guthr.ie<BR>> Date: Tue, 14 Jun 2011 09:51:00 +0100<BR>> Subject: Re: [pulseaudio-discuss] association of pa_stream to mixer input channel<BR>> <BR>> 'Twas brillig, and jayan john at 14/06/11 06:12 did gyre and gimble:<BR>> > 1. Does the pa_stream_connect_playback() call allocate an input channel<BR>> > on the mixer and connect it to the sink device?<BR>> <BR>> Not really what you are referring to as "the mixer" or an "allocated<BR>> input channel" here but this command does indeed connect a playback<BR>> stream. This will be needed if you want to playback any audio. After the<BR>> stream is connected it will be allocated to a sink according to various<BR>> routing decisions in PA itself. It may at some point be moved to a new<BR>> device at a later time (unless you pass the PA_STREAM_DONT_MOVE flag IIRC).<BR>> <BR>> > 2. Would it allocate 6 input channels on the mixer if I have a 5.1<BR>> > channel map for my pa_stream?<BR>> <BR>> Again, I'm not really sure what "the mixer" refers to here. But your<BR>> stream will have as many channels as you say it has in it's channel map<BR>> like you say. You can ultimately connect a stereo stream to a 5.1 sink<BR>> and PA will upmix, and likewise you can connect a 6ch stream to a stereo<BR>> sink and it will downmix.<BR>> <BR>> Ultimately, as an app developer, you should just care about your stream<BR>> and not worry about the sinks :)<BR>> <BR>> Col<BR>> <BR>> <BR>> -- <BR>> <BR>> Colin Guthrie<BR>> gmane(at)colin.guthr.ie<BR>> http://colin.guthr.ie/<BR>> <BR>> Day Job:<BR>> Tribalogic Limited [http://www.tribalogic.net/]<BR>> Open Source:<BR>> Mageia Contributor [http://www.mageia.org/]<BR>> PulseAudio Hacker [http://www.pulseaudio.org/]<BR>> Trac Hacker [http://trac.edgewall.org/]<BR>> <BR>> _______________________________________________<BR>> pulseaudio-discuss mailing list<BR>> pulseaudio-discuss@lists.freedesktop.org<BR>> http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss<BR>                                            </body>
</html>