Thanks a lot!
Is it possible for user choose not to be routed to BT.
And further, is it possible for user to choose to be routed to BT using 
different profile (HSP, A2DP)

Best Regards, Zheng, Huan(ZBT)
OTC/SSD/SSG
Intel Asia-Pacific Research & Developement Ltd
Tel: 021-6116 6435
Inet: 8821 6435
Cub: 3W035


-----Original Message-----
From: maemo-developers-boun...@maemo.org 
[mailto:maemo-developers-boun...@maemo.org] On Behalf Of jyri.sa...@nokia.com
Sent: 2010年1月13日 0:09
To: maemo-developers@maemo.org
Subject: RE: Query about audio management inside Maemo

Hi,
I am a Maemo audio developer and your questions are mostly
policy related, but I should more or less know the answers...
        ________________________________

        From: ext Zheng, Huan [mailto:johan.hedb...@gmail.com] 
        Sent: 12 January, 2010 08:47
        To: maemo-developers@maemo.org
        Subject: Query about audio management inside Maemo
        
        
        
        Hi, 

        How maemo handle below two scenario?

        1, voice call comes in while music is played

        2, BT device attached while music is played

         

        My guessing is

        Voice call use libplayback informs its coming, music player get a 
notification from OHM daemon to pause, right?

Yes, this is basically right. But in addition to OHM
notification policy enforcement will reroute media
player stream to null sink. So the music playback 
will be muted even if the media player ignores the OHM 
notification.


        The 2nd scenario, I can't guess out the flow, but the result should be 
music flow to BT automatically.

        Could someone explain a more detailed flow for the 2 scenarios above?

The sequence of events may change a bit depending on the used
BT-device etc., but in general it should go like this:
1. bluez notifies about new bluetooth device
2. pulseaudio BT-discovery module loads BT-device module for 
   the new device
3. pulseaudio BT-device module creates card-profile and audio 
   sink for the new device
4. policy notices the new device and routes all audio there


        Thanks a lot!

         

        And, is libplayback and the maemo component for Pulseaudio opensource?

Maemo pulseaudio is open source but some of the Nokia specific 
pulseaudio modules are not. See: 
http://repository.maemo.org/pool/maemo5.0beta/free/p/pulseaudio/

As far as I know there should be no reason why libplayback
should be closed, but I could not find it from Maemo SDK...
Anyway you should not rely too much on libplayback's internal
implementation, because it is likely to change in the future.

Cheers,
Jyri Sarha

         
_______________________________________________
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers
_______________________________________________
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers

Reply via email to