[pulseaudio-tickets] [Bug 57228] Allow volume for apps that make sounds for brief time periods

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Jan 14 07:52:59 PST 2014


https://bugs.freedesktop.org/show_bug.cgi?id=57228

--- Comment #2 from Christoffer Holmstedt <christoffer.holmstedt at gmail.com> ---
This affected me today with "Klavaro" touch typing tutor program. The
application plays the sound of each character that should be typed, so when you
pressed one character the next is played. I wanted to output the Klavaro sound
through my headset and keep music playing from my speakers. So from the
"PulseAudio Volume Control" I wanted to set the playback stream to my headset.
The problem was that the stream only shows for a maximum of a second each time
so no time to change output device from the drop-down list.

### Workaround
For future users with the same problem this is the workaround I got suggested
to use from IRC and it works (with a little bit of luck).

Open a terminal
$ pactl move-sink-input <sink-input-index> <new output device>

The command above use shell completion so if you have any sound playing you can
test it by just using tab. Now close all applications that outputs sound.

Invoke the application you want to move to another output device so it plays
some sound AND at the same time spam the <tab> key with the terminal in focus
to try to find out what sink-input-index that application has. Do this ones
more and take note of the increment of sink-input indexes.

As a final step now prepare the complete command in the terminal with a
pre-incremented sink-input-index and play a sound from the application and
press enter in the terminal while the sound is playing.

### From my terminal:
$ pactl move-sink-input (use shell completion while sound is playing)
1109
$ pactl move-sink-input (use shell completion while sound is playing)
1111
$ pactl move-sink-input 1113 <output-device> (prepare this command and press
enter when the sound is playing next time)

### My spec.
I'm using xubuntu 14.04 Trust Tahr Alpha.
"pulseaudio --version" gives "pulseaudio 4.0"

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-bugs/attachments/20140114/1a36f5a5/attachment.html>


More information about the pulseaudio-bugs mailing list