changeset 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 8750a62abed8
children 7f0318090690
files ChangeLog src/audacious/input.c
diffstat 2 files changed, 12 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Sun Jan 28 22:09:12 2007 -0800
+++ b/ChangeLog	Sun Jan 28 22:19:02 2007 -0800
@@ -1,3 +1,13 @@
+2007-01-29 06:09:12 +0000  Daniel Barkalow <barkalow@iabervon.org>
+  revision [3886]
+  Provide flags in InputPlayback for common plugin flag needs, and provide a
+  useful default get_time().
+  
+  trunk/src/audacious/playback.c |   16 +++++++++++++---
+  trunk/src/audacious/plugin.h   |    4 ++++
+  2 files changed, 17 insertions(+), 3 deletions(-)
+
+
 2007-01-29 05:08:08 +0000  Daniel Barkalow <barkalow@iabervon.org>
   revision [3884]
   More input plugin API work
--- 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;
         }
     }