Totem stop playing when I try to call in skype

Bug #437638 reported by Kjell L.
22
This bug affects 5 people
Affects Status Importance Assigned to Milestone
gnome-media (Ubuntu)
Invalid
Undecided
Unassigned
pulseaudio (Ubuntu)
Fix Released
Wishlist
Daniel T Chen

Bug Description

Binary package hint: pulseaudio

I have Totem open. When I open Skype, totem get muted and sometimes stop playing when a skype sound is in process.

ProblemType: Bug
Architecture: amd64
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: AD198x Analog [AD198x Analog]
   Subdevices: 1/2
   Subdevice #0: subdevice #0
   Subdevice #1: subdevice #1
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/pcmC0D0c: kl 1616 F...m pulseaudio
 /dev/snd/controlC0: kl 1616 F.... pulseaudio
 /dev/snd/pcmC0D0p: kl 1616 F...m pulseaudio
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xfe220000 irq 17'
   Mixer name : 'Analog Devices AD1984'
   Components : 'HDA:11d41984,17aa20d7,00100400'
   Controls : 29
   Simple ctrls : 18
Date: Sun Sep 27 14:53:46 2009
DistroRelease: Ubuntu 9.10
NonfreeKernelModules: nvidia
Package: pulseaudio 1:0.9.18-0ubuntu3
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-11.36-generic
SourcePackage: pulseaudio
Uname: Linux 2.6.31-11-generic x86_64

Revision history for this message
Kjell L. (lkjell) wrote :
Revision history for this message
Daniel T Chen (crimsun) wrote :

This behaviour is intentional. If you don't want it, use:

pactl list|grep -B1 -E 'Name.*module-cork'

pactl unload-module X
where X corresponds to the index.

Changed in pulseaudio (Ubuntu):
status: New → Won't Fix
importance: Undecided → Wishlist
Changed in gnome-media (Ubuntu):
status: New → Invalid
Revision history for this message
Kjell L. (lkjell) wrote :

Maybe it is intentionally, but totem gets muted indefinitely and that can't be intended.

Revision history for this message
Daniel T Chen (crimsun) wrote : Re: [Bug 437638] Re: Totem stop playing when I try to call in skype

On Mon, Sep 28, 2009 at 6:00 PM, Kjell L. <email address hidden> wrote:
> Maybe it is intentionally, but totem gets muted indefinitely and that
> can't be intended.

But is this happening with other applications (i.e., not Skype)?

Revision history for this message
Kjell L. (lkjell) wrote :

Only when Skype is on. Allow Skype to automatically set mixer level is set to off as well, to make sure it does not mess up with pulse.

Revision history for this message
Daniel T Chen (crimsun) wrote :

On Mon, Sep 28, 2009 at 6:43 PM, Kjell L. <email address hidden> wrote:
> Only when Skype is on. Allow Skype to automatically set mixer level is
> set to off as well, to make sure it does not mess up with pulse.

Then it's going to be very difficult to pin this symptom as a PA bug,
since only Skype appears to tag, and we have no idea what Skype is
doing.

Revision history for this message
Kjell L. (lkjell) wrote :

Then how can you design the module cork music on phone?

Revision history for this message
Alex Murray (alexmurray) wrote :

I'm having this problem too - I am playing a video in Totem when Skype pops up a notification saying someone has logged off / on - this pauses my video - and the video stays paused even after the notifcation has gone away which I dont think should happen - instead shouldn't the pausing only happen for actual incoming / outgoing calls, not the notification sounds? Or shouldnt pulseaudio resume the video after the notification sound has finished?

Revision history for this message
gregbeal (gbeal1990) wrote :

I am having the same problem, but I have also noticed that the notifications will make a paused video start playing.

Revision history for this message
Tobias Wolf (towolf) wrote :

« For the media players we fake XF86AudioPause key events to make them pause, which probably everyone agress is a terribly kludgy hack. »

      http://0pointer.de/blog/projects/skype.html#comments

This key will send the play/pause toggle over dbus. So, when the player is already paused it will start to play ...
And if two players are running with one paused and the other playing they will both toggle to the other state.

I think corking should definitely be disabled until they sort it out. The idea is good, but the world isn’t ready yet.

Revision history for this message
Tobias Wolf (towolf) wrote :

Sorry, wrong link for the quote above. Take this one: http://0pointer.de/blog/projects/tagging-audio.html#comments

Daniel T Chen (crimsun)
Changed in pulseaudio (Ubuntu):
status: Won't Fix → Fix Committed
assignee: nobody → Daniel T Chen (crimsun)
Revision history for this message
Kjell L. (lkjell) wrote :

A fix for this is to lower all other sound channel by 10dB and then restore it afterwards. But then it means that pulse need to know when to restore it.

Anyway pulse needs to be smart to know which sound channel it needs to suppress. For example if I watch a movie I do not want it to just suddenly pause my movie or disable the sound. I want to have the choice whether I want to pause or simple deny the call etc.

Revision history for this message
Daniel T Chen (crimsun) wrote :

On Sat, Oct 3, 2009 at 11:21 AM, Kjell L. <email address hidden> wrote:
> A fix for this is to lower all other sound channel by 10dB and then
> restore it afterwards. But then it means that pulse need to know when to
> restore it.

That's one approach, sure, but given the Karmic schedule, the less
invasive approach (with fewer - i.e., no - regressions) is not to load
module-cork-music-on-phone.

Revision history for this message
jeff (antonkedrov) wrote :

i have this bug too. when i play video through totem and somebody sent message to me in skype, video stops playing.
my system is ubuntu 9.04 2.6.28-15-generic, pulseaudio 0.9.15, skype 2.1.0.47

Revision history for this message
laborg (gerhardtt) wrote :

The same for me with rhythmbox. Whenever something in Skype is happening Rhythmbox pauses. Karmic Amd64, 2.6.31-11-generic

Revision history for this message
Doki (lkishalmi) wrote :

The problem is still not fixed and really annoying.

Revision history for this message
Daniel T Chen (crimsun) wrote :

Just unload module-cork-music-on-phone, or use the version of PA in the
ubuntu-audio-dev PPA.

On Oct 9, 2009 8:20 AM, "Doki" <email address hidden> wrote:

The problem is still not fixed and really annoying.

-- Totem stop playing when I try to call in skype
https://bugs.launchpad.net/bugs/437638 You recei...

Status in “gnome-media” package in Ubuntu: Invalid
Status in “pulseaudio” package in Ubuntu: Fix Committed

Bug description: Binary package hint: pulseaudio I have Totem open. When I
open Skype, totem get m...

Revision history for this message
Doki (lkishalmi) wrote :

Thanks I finally could solve the problem by unloading module-cork-music-on-phone and module-x11-cork-request.
I've used pactl list and pactl unload-module <magic id> to find the module id and then to remove them. Is there an easier way to do that?

Revision history for this message
Kjell L. (lkjell) wrote :

Check /etc/pulse/default.pa then comment them by #

Revision history for this message
Kjell L. (lkjell) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package pulseaudio - 1:0.9.19-0ubuntu1

---------------
pulseaudio (1:0.9.19-0ubuntu1) karmic; urgency=low

  * New upstream bugfix release
  * debian/:
    . {libpulse0,pulseaudio}.shlibs:
    . shlibs{,_pulseaudio}.local:
    . rules: Update for new release
  * debian
    + pulseaudio.dirs:
    . patches/0006-a11y-special-case-disable.patch:
    . pulse-session: Use a system-wide flag to assist in fixing
      alsactl store race.
  * debian/patches/:
    - 0060-backport-c194d.patch: Drop, subsumed by new release
    + 0053-fix-sigsegv-module-bluetooth-device.patch: Don't strcmp
      uninitialized memory (LP: #437293)
    + 0055-backport-alsa-bt-position-fixes-b3592a1.patch: Apply the
      following changesets from origin/master HEAD for fixes:
      40c1ca76c48147c7648e1f1a72cc2c747f3d0c9b,
      7b682c969025845f75cbc74a9f830ad2dec8a415,
      c96d2d1117a7e59b351358c8cdd79ef465ddbd49,
      b3592a160f0d2a28605048a81c0261bf7c45acbb
    + 0091-dont-load-cork-music-on-phone.patch: Disable for Karmic;
      it's confusing users (LP: #437638)
  * Previous uploads resolved Launchpad bug reports:
    - LP: #434003 (crashed with SIGILL in pa_smoother_translate() )
    - LP: #437638 (cpulimit.c: Received request to terminate)

 -- Daniel T Chen <email address hidden> Tue, 06 Oct 2009 18:40:38 -0400

Changed in pulseaudio (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Pako (elektrobank01) wrote :

since this update pulseaudio feature doesn't work as it should, TO STOP
PLAYING MUSIC WHEN SOMEONE CALLS YOU. It works perfect with empathy until
regression came out

Revision history for this message
Daniel T Chen (crimsun) wrote :

On Wed, Oct 14, 2009 at 9:01 AM, Pako <email address hidden> wrote:
> since this update pulseaudio feature doesn't work as it should, TO STOP
> PLAYING MUSIC WHEN SOMEONE CALLS YOU. It works perfect with empathy until
> regression came out

Except that in many instances MUSIC DOESN'T RESUME ONCE THE CALL ENDS.

In other words, stop shouting. I put the rationale for the change in
the changelog for PulseAudio.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.