[Gpephone-devel] functions of sound server

YU Yijun RD-ILAB-PEK yijun.yu at orange-ftgroup.com
Mon Feb 12 06:09:21 CET 2007



>-----Original Message-----
>From: Zhao Shichang [mailto:zhaoshichang at longcheertel.com]
>Sent: 2007年2月12日 11:46
>To: YU Yijun RD-ILAB-PEK; gpephone-devel at linuxtogo.org
>Subject: Re: Re: [Gpephone-devel] functions of sound server
>
>>
>>
>>>>>Hi,everyone!
>>>>>
>>>>>I have two questions:
>>>>>1, Does the sound server control audio device in phone call mode or
>>audio
>>>>playback
>>>>>mode, and control when switch between the two state?
>>>>>
>>>>>2, Do audio playbacks have priority in sound server? For example,
>>while playing
>>>>>music using media player, there comes a phone call, so it must pause
>>the music
>>>>>and  play a ringtone.
>>>>
>>Hi,
>>Sound server keeps exclusive control to audio device and mix sounds up
>>from different sources.
>>
>>When there is a ringtone and a music playing at the same time, sound
>>server doesn't stop either of them but simply mix them and play together
>>with higher ringtone's volume and lower music's volume.
>>
>>Does it answer your question?
>>
>>
>>>
>>>Does that answer your question?
>>>
>>>Regards
>>>Yijun
>>
>
>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
>
>REGARDS
>zhaoshichang
>




More information about the Gpephone-devel mailing list