diff src/audacious/input.c @ 2439:f2b3d6428b67 trunk

[svn] Allow input plugin that implements get_volume to punt to the output plugin.
author iabervon
date Sun, 28 Jan 2007 22:19:02 -0800
parents 62d8f9c05832
children 87c53f0e9e0d
line wrap: on
line diff
--- a/src/audacious/input.c	Sun Jan 28 22:09:12 2007 -0800
+++ b/src/audacious/input.c	Sun Jan 28 22:19:02 2007 -0800
@@ -737,8 +737,8 @@
     *r = -1;
     if (playback_get_playing()) {
         if (get_current_input_playback() &&
-            get_current_input_playback()->plugin->get_volume) {
-            get_current_input_playback()->plugin->get_volume(l, r);
+            get_current_input_playback()->plugin->get_volume &&
+            get_current_input_playback()->plugin->get_volume(l, r)) {
             return;
         }
     }