[maemo-developers] Audio preemption between a media player and softphone.

From: Stefan Kost ensonic at hora-obscura.de
Date: Fri Jan 30 14:09:11 EET 2009
Richard schrieb:
> Hi,
>   
>      Our team has written a media player and softphone on the maemo 
> platform. However they are sharing a alsa mixer such that softphone 
> cannot preempt the media player' audio when the call is received and 
> establish. How can I do the audio arbitation in maemo? Thanks in advance
> 
You can use libplayback. I define a context where the application described its
type and you register a callback for getting preemption requests etc.

Stefan

> Regards,
> 
> Richard Wu
> Senior Engineer,
> ASTRI
> 
> 
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> This message (including any attachments) is for the named
> addressee(s)'s use only. It may contain sensitive, confidential,
> private proprietary or legally privileged information intended for a
> specific individual and purpose, and is protected by law. If you are
> not the intended recipient, please immediately delete it and all copies
> of it from your system, destroy any hard copies of it
> and notify the sender. Any use, disclosure, copying, or distribution of
> this message and/or any attachments is strictly prohibited.
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 
> _______________________________________________
> maemo-developers mailing list
> maemo-developers at maemo.org
> https://lists.maemo.org/mailman/listinfo/maemo-developers


More information about the maemo-developers mailing list