Browse Source

Switch internal volume control to always control the internal mixer

This is what we want with the new web-client volume control.

The user can still override this via mpv.conf, although this is not
recommended.
Vincent Lang 9 years ago
parent
commit
871e085367
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/player/PlayerComponent.cpp

+ 2 - 2
src/player/PlayerComponent.cpp

@@ -88,8 +88,8 @@ bool PlayerComponent::componentInitialize()
   // than 0, and web-client expects that we return these times unchanged.
   mpv::qt::set_option_variant(m_mpv, "demuxer-mkv-probe-start-time", false);
 
-  // Always use the system mixer.
-  mpv_set_option_string(m_mpv, "softvol", "no");
+  // Always use the internal mixer by default.
+  mpv_set_option_string(m_mpv, "softvol", "yes");
 
   // Just discard audio output if no audio device could be opened. This gives
   // us better flexibility how to react to such errors (instead of just