Bug 57228

Summary: Allow volume for apps that make sounds for brief time periods
Product: PulseAudio Reporter: John Schmitt <nuonguy>
Component: pavucontrolAssignee: pulseaudio-bugs
Status: RESOLVED MOVED QA Contact: pulseaudio-bugs
Severity: normal    
Priority: medium CC: christoffer.holmstedt, freedesktop, lennart, nekohayo
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description John Schmitt 2012-11-17 17:13:14 UTC
Skype makes sounds when friends log off, log on, and other times.  The sounds skype makes are played for only a second.  pavucontrol lists skype for that brief period.  This is not enough time to change the volume at which skype makes those sounds.  Make this possible.
Comment 1 Tanu Kaskinen 2012-11-22 22:43:37 UTC
According to a recent mailing list discussion[1], with the newest Skype version the system event sound volume control affects also the Skype event sound volume. Can you verify this?

[1] http://thread.gmane.org/gmane.comp.audio.pulseaudio.general/15000
Comment 2 Christoffer Holmstedt 2014-01-14 15:52:59 UTC
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"
Comment 3 GitLab Migration User 2018-07-30 09:22:16 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/pulseaudio/pavucontrol/issues/1.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.