[Gpephone-devel] functions of sound server

YU Yijun RD-ILAB-PEK yijun.yu at orange-ftgroup.com
Tue Feb 13 11:34:41 CET 2007



>>>
>>>Thanks!
>>>What happens when there comes a phone call,or user estiblish a call
while
>playing
>>>music?
>>>Normally, music playing will be paused( or just mute?).
>>>
>>Currently, sound server just mixes them up.
>>We may use other mechanism to pause the music player. Say music player
will
>register an incoming call event and once it receives this event, it
will pause
>itself.
>>
>>There is no such mechanism in the current edition and we welcome
suggestions
>& contributions.
>>
>>Regards
>>Yu Yijun
>
>Two ways I think:
>1, pause music playing
>  sound server should send messages to all playing processes to pause.
perhaps
>it will cause a long delay, and make applications that want to play
music more
>complicated.
>
>2, mute all music
>  it's application transparent. sound server should have a timer to
process
>audio buffers periodically.  perhaps it wasts too much resources.
>
>Any better suggestions?
Hi, 
In fact, I mean that once there is an incoming call, phone server will
broadcast this event and any application can register it.e.g., diaer
application, music player application, etc. 
When music application receives this event it can then pause itself.
Unfortunately, in the current code, phone server sends incoming call
event directly to dialer app and music app has no chance to receive this
event. Therefore, in the following version, I suggest we should revise
phone server's ability.


>
>REGARDS
>littertiger



More information about the Gpephone-devel mailing list