Hi,

Sound card should appear as sink (or many sinks)in pulseaudio, 
to where you can then explicitly route. 

However there are exceptions: 
1) If your extra sound card is mapped as separate alsa pcm, 
pulseaudio should automatically create a sink for you.

2) If the extra output you want to route, is a alsa "sub pcm" 
like hdmi is in many pc sound cards, you have to manually load these 
in pulseaudio configuration or create a multisink profile in pulseaudio. 

The above things you can check with aplay or amixer commands.

You can give the routing target to gstreamer as gsreamer pulsesink 
"device" property. However I'm not sure if this is anyway mapped 
through to QT. We haven't officially so far supported qt very well.
 
It would be helpful if you could give more concrete example of your 
use case and hw configuration.

br,
Jaska


P.S. there are possibilities to do "automatic" routing in a module inside 
pulseaudio (pulseaudio-module-murphy-ivi). So you can route based 
on your binary name or some other properties you have given to 
pulseaudio.  Unfortunately the documentation is somewhat scarce. 
Somebody else was asking the similar question and I'll try to put 
some tutorial for this to Murphy web pages as soon as I'm able.


________________________________________
From: IVI [[email protected]] on behalf of Yang Andy 
[[email protected]]
Sent: Monday, December 15, 2014 6:33 AM
To: [email protected]
Subject: [IVI] [TizenIVI3.0]Question about Multi Audio stream routing

Hi everyone

This is a question about Multi audio stream routing in TizenIVI3.0 .

[Use Case]
There are two media players playing different mp3 files at the same time.
I want to rount them to different sound card.


[Soft arch]
HMI--->QT--->gstreamer--->pluseaudio--->alsa

[Question]
I think i can use paplay command to play the file to particular sink,

but in the TizenIVI MultiMedia software architecture,How to route them to 
different sound card?

Where should I config the route? Gstreamer or pluseaudio or alsa?

Best Regards


Andy

---------------------------------------------------------------------
Intel Finland Oy
Registered Address: PL 281, 00181 Helsinki 
Business Identity Code: 0357606 - 4 
Domiciled in Helsinki 

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.

_______________________________________________
IVI mailing list
[email protected]
https://lists.tizen.org/listinfo/ivi

Reply via email to