Summary: | Volume control of Kaffeine affected by other sound applications | ||
---|---|---|---|
Product: | [Applications] kaffeine | Reporter: | Metally <chezthor> |
Component: | general | Assignee: | Mauro Carvalho Chehab <mchehab> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Mint (Ubuntu based) | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Metally
2016-10-16 15:46:24 UTC
(In reply to Metally from comment #0) > concerns: Linux Mint 18 Cinnamon 64bit > Kaffeine used for DVB-T TV. > > It is like that: > VLC (for example) and Kaffeine both are running. If I change now the volume > in VLC, the volume ruler of Kaffeine (in pulseaudio) changes with the next > programstart or station switch of Kaffeine to the volume level of VLC. As > well VLC picks up after program (re)start the volume level of Kaffeine (to > check in pulseaudio). > > This becomes important when I wish different sound levels for both apps: I > want to listen to TV (Kaffeine) and watch simultaneous a video silent in > VLC. Yes, that happens, TV to me is often like radio listening..... :). > > > > > > Reproducible: Always > > Steps to Reproduce: > first: > 1. start Kaffeine (DvB-T) loud > 2. start VLC (silent) > 3. in Kaffeine switch to another station or restart Kaffeine > > second: > 1. start VLC (silent) > 2 start Kaffeine (loud) > 3. Restart VLC > > Actual Results: > first: > Kaffeine gets as silent as VLC > > second: > VLC gets as loud as Kaffeine > > Expected Results: > first: > Kaffeine keeps its volume level > > second: > VLC keeps its volume level > > Irritating to me was that In Kaffeine the volume ruler shows no effect on > the Kaffeine-volume ruler in pulseaudio although the volume changes > recognizable. In contrast the volume ruler of > VLC works synchronized with the one in pulseaudio. ???? > > I cannot give the version of Kaffeine cause now I installed Mint 17.3 64bit > on my PC (here is no problem with the volume levels). But it is the version > that comes with Mint 18 Cinnamon 64bit. That sounds to be an issue with pulseaudio. Kaffeine (version 2.x and 1.3) uses libvlc for audio/video output. The logic to set volume there is really simple. It just calls libvlc, and let it do its magic: void VlcMediaWidget::setVolume(int volume) { // 0 <= volume <= 200 if (libvlc_audio_set_volume(vlcMediaPlayer, volume) != 0) { qWarning("cannot set volume %i", volume); } } Maybe PA on your distro is not capable of distinguish VLC from a libVlc-based application and it is doing the wrong thing there. |