[meta-freescale] Audio stream routing

Jeremiah Foster jeremiah.foster at pelagicore.com
Thu Dec 11 05:03:19 PST 2014


Hi,

Note that there is also a Audio Manager tool
http://docs.projects.genivi.org/AudioManager/ which can also allow you to
link up arbitrary sources and sinks, designed specifically for the IVI
context by GENIVI. The source code is licensed under the MPL (permissive
free software license) and there is already a known configuration done with
Murphy.

Cheers,

Jeremiah

On Wed, Dec 10, 2014 at 6:50 AM, Ray·Bloodworth <k870818319 at outlook.com>
wrote:

> Hi, Alexander, Dmitriy Beykun
>
>     Thanks for your reply!
>     I ask question here because I'm using MCIMX6Q-SDP.
>     From your answer I understand that both pulseaudio and alsa can route
> audio stream.
>     In my case, I will do it in pulseaudio.
>     Actually, I want to porting imx6q multi-media to tizen IVI.
>     Tizen ivi profile has murphy to control resources which include audio
> stream.
>
>     Tizen IVI community has told me that I should config
> pulseaudio-murphy-ivi plugin. I will try this one.
>
>     Thanks!
>
> ------------------------------
> Ray·Bloodworth
>
>
> *From:* Alexander Shashkevych <alex at stunpix.com>
> *Date:* 2014-12-09 21:33
> *To:* Dmitriy B. <rzk333 at gmail.com>
> *CC:* meta-freescale at yoctoproject.org; Ray·Bloodworth
> <k870818319 at outlook.com>
> *Subject:* Re: [meta-freescale] Audio stream routing
> >> >      This is a question about audio stream routing.
> >> >
> >> >      Soft arch:
> >> >      gstreamer--->pluseaudio--->alsa
> >> >
> >> >      There are two media players playing different mp3 files at the
> same
> >> > time. How to route them to different sound card?
> >> >      Where should I config the route? pluseaudio or alsa?
> >>
> >> Hi,
> >>
> >> Alsa is api for direct communication with audio devices (no less, no
> >> more)
> > You can downmix and resample things using alsa. google for dsnoop, dmix,
> > plughw, resample standard alsa plugins, everything is configurable, you
> can
> > make pretty complicated things using alsa. There is no need for
> pulseaudio
> > unless you really need it. Especially in embedded applications when sound
> > configuration is predefined.
>
> You are right of course, but alsa-way requires more efforts to
> configure such setups. Considering how initial question was
> formulated, I've provided simplest possible answer. I just assumed
> that Ray had no clear understanding how pulseaudio and alsa are
> working by asking such questions, since they are suppose basic linux
> knowledge.
>
> >> routing can be done with pavucontrol.
> > Routing is configurable using pacmd. Here is an example output
> > http://pastebin.com/85V6qmZX
> > pavucontrol is just a gui frontend for API, you don't necessarily need
> it.
> >> PS: Actually this question is not imx/freescale specific, so this
> >> mailing list is not best place for it.
> > Not sure about it, I've done couple systems with SGTL5000 and other
> codecs
> > using i.MX'ses and there were some issues here and there, so it is
> perfectly
> > fine to discuss embedded setup here. There is even an .asoundrc files
> > somewhere in meta-freescale with predefined values for one of the sabre
> > series board (iirc using fsl alsa resampling plugin that makes use of
> i.MX
> > internal digital audio resampler).
>
> I hope Ray now has complete answer. :)
>
> Alexander
>
>
> --
> _______________________________________________
> meta-freescale mailing list
> meta-freescale at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale
>
>


-- 
Jeremiah C. Foster
GENIVI COMMUNITY MANAGER

Pelagicore AB
Ekelundsgatan 4, 6tr, SE-411 18
Gothenburg, Sweden
M: +46 (0)73 093 0506
jeremiah.foster at pelagicore.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-freescale/attachments/20141211/c3af0acc/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PELAGICORE_RGB_Black_horizontal.png
Type: image/png
Size: 11841 bytes
Desc: not available
URL: <http://lists.yoctoproject.org/pipermail/meta-freescale/attachments/20141211/c3af0acc/attachment-0001.png>


More information about the meta-freescale mailing list