Browse Source

PlayerComponent: log audio output API on debug overlay

Just so it's easier to see whether "null" is used (i.e. no actual audio
output).
Vincent Lang 8 years ago
parent
commit
75dc02f568
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/player/PlayerComponent.cpp

+ 3 - 3
src/player/PlayerComponent.cpp

@@ -1255,12 +1255,12 @@ QString PlayerComponent::videoInformation() const
   info << "Audio: " << endl;
   info << "Codec: " << MPV_PROPERTY("audio-codec") << endl;
   info << "Bitrate: " << MPV_PROPERTY("audio-bitrate") << endl;
-  info << "Channels (input): ";
+  info << "Channels: ";
   appendAudioFormat(info, "audio-params");
-  info << endl;
-  info << "Channels (output): ";
+  info << " -> ";
   appendAudioFormat(info, "audio-out-params");
   info << endl;
+  info << "Output driver: " << MPV_PROPERTY("current-ao") << endl;
   info << endl;
   info << "Performance: " << endl;
   info << "A/V: " << MPV_PROPERTY("avsync") << endl;