In Linux PulseAudio has a feature that allows you to mute the player when there is an incoming call, but it is not enabled by default, at least on Ubuntu/Linux Mint.
Sorry for the spelling and phonetic errors in the text.
Owner and main writer of MintGuide.org is not a native English speaker.
If you play music in Rhythmbox, Audacious, Banshee, Totem (Video) and so on when an incoming call in applications such as Skype, Ekiga Softphone, SFLphone VoIP client and other VoIP applications, the music continues to play even after the call is answered. PulseAudio has a feature that allows you to pause the music when a call comes in, but it is not enabled by default.
For this we have to activate two modules PulseAudio.
That's the behavior that you should expect after activating the module:
- for some applications that support this feature, music player (Rhythmbox, Banshee) will pause the music when you answer a call on Skype and so on;
- some applications that also support this feature turns off the sound when answering a call. An example of this application is: Totem (Video);
- for applications that don't support it by default, such as Audacious and Linphone for example, the music will be muted, answering the call.
Installation into Linux Mint/PinguyOS/ElementaryOS or others Ubuntu distrs:
for Linux Mint 17/16/14Linux terminal: ~$
pactl load-module module-role-cork[/code]
for Linux Mint 13Linux terminal: ~$
pactl load-module module-cork-music-on-phone[/code]
Open the file default.pa to edit the following command:
sudo gedit /etc/pulse/default.pa[/code]
sudo pluma /etc/pulse/default.pa[/code]
At the end of the file default.pa to copy/paste the line:
for Linux Mint 17/16/14
Linux terminal: ~$
for Linux Mint 13
Linux terminal: ~$
Save the file and exit the editor.
Please note that currently it does not work with web browsers, so if you are watching a video on YouTube in Firefox, Chrome, etc., video will not be suspended when a call.