selected input in the gnome input selector is not the input that mumble uses

Bug #982886 reported by Andy Whitcroft
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mumble (Ubuntu)
Triaged
Undecided
Unassigned

Bug Description

Today I booted, used the gnome sound setting to select my external blue snowball usb mic, then started mumble. it was not using that mic and stubbonly refused to switch to it using the normal selector. WIthin mumble I have the input selected in mumbles settings was 'Default'.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: pulseaudio 1:1.1-0ubuntu15
ProcVersionSignature: Ubuntu 3.2.0-23.36-generic 3.2.14
Uname: Linux 3.2.0-23-generic x86_64
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
ApportVersion: 2.0.1-0ubuntu3
Architecture: amd64
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xfc700000 irq 47'
   Mixer name : 'Intel Cantiga HDMI'
   Components : 'HDA:111d7675,1028029f,00100103 HDA:80862802,80860101,00100000'
   Controls : 23
   Simple ctrls : 11
Card1.Amixer.info:
 Card hw:1 'Speaker'/' Logitech Logitech Speaker at usb-0000:00:1d.7-3.5.3, full speed'
   Mixer name : 'USB Mixer'
   Components : 'USB046d:0a10'
   Controls : 2
   Simple ctrls : 1
Card2.Amixer.info:
 Card hw:2 'Snowball'/'BLUE MICROPHONE Blue Snowball at usb-0000:00:1d.7-3.5.4, full speed'
   Mixer name : 'USB Mixer'
   Components : 'USB0d8c:0005'
   Controls : 2
   Simple ctrls : 1
Date: Mon Apr 16 09:32:05 2012
EcryptfsInUse: Yes
ProcEnviron:
 TERM=xterm
 PATH=(custom, user)
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
SourcePackage: pulseaudio
UpgradeStatus: Upgraded to precise on 2012-02-01 (74 days ago)
dmi.bios.date: 09/22/2008
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A03
dmi.board.vendor: Dell Inc.
dmi.board.version: A03
dmi.chassis.type: 8
dmi.chassis.vendor: Dell Inc.
dmi.chassis.version: A03
dmi.modalias: dmi:bvnDellInc.:bvrA03:bd09/22/2008:svnDellInc.:pnStudio1537:pvrA03:rvnDellInc.:rn:rvrA03:cvnDellInc.:ct8:cvrA03:
dmi.product.name: Studio 1537
dmi.product.version: A03
dmi.sys.vendor: Dell Inc.

Revision history for this message
Andy Whitcroft (apw) wrote :
Revision history for this message
David Henningsson (diwic) wrote :

Mumble always specifies device explicitly when connecting a stream, even when "Default sink" / "Default source" is selected.
And these devices in mumble are not updated when the default source/sink is changed in PulseAudio, because mumble does not subscribe to PA_SUBSCRIPTION_EVENT_SERVER.

Suggest either
1) pa_context_connect_record should specify null as its dev parameter when the "default source" option is selected. This would also make the stream movable, so if the default source is changed while a stream is running, it will be moved automatically.

2) at least subscribe to updates of default source and sink, so that the next time pulseaudio engine is restarted (is that when the audio wizard is opened?) the correct device will be used?

affects: pulseaudio (Ubuntu) → mumble (Ubuntu)
Changed in mumble (Ubuntu):
status: New → Triaged
Revision history for this message
David Henningsson (diwic) wrote :

Maybe this quick-n-dirty patch will help?

Revision history for this message
David Henningsson (diwic) wrote :
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "0006-pulseaudio-default-inout.patch" of this bug report has been identified as being a patch. The ubuntu-reviewers team has been subscribed to the bug report so that they can review the patch. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-reviewers team please also unsubscribe the team from this bug report.

[This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.]

tags: added: patch
Revision history for this message
David Henningsson (diwic) wrote :

Hi,

I have now packaged the attached patch and it's currently building in ppa:diwic/ppa. Once it has finished buildning, could you please test it and verify that the bug is fixed?

Thanks!

Changed in mumble (Ubuntu):
status: Triaged → Incomplete
Revision history for this message
Andy Whitcroft (apw) wrote :

It doesn't seem to work quite as we might expect. It seems to stay on the USB mic in all cases when on Default.

Changed in mumble (Ubuntu):
status: Incomplete → Triaged
Revision history for this message
David Henningsson (diwic) wrote :

It looks like the sound settings UI does not move inputs correctly, so I've filed bug 984637 for that.

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

Other bug subscribers

Remote bug watches

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