comparison src/audacious/input.c @ 2437:62d8f9c05832 trunk

[svn] More input plugin API work
author iabervon
date Sun, 28 Jan 2007 21:08:08 -0800
parents f346d30bf5ab
children f2b3d6428b67
comparison
equal deleted inserted replaced
2436:f346d30bf5ab 2437:62d8f9c05832
748 void 748 void
749 input_set_volume(gint l, gint r) 749 input_set_volume(gint l, gint r)
750 { 750 {
751 if (playback_get_playing()) { 751 if (playback_get_playing()) {
752 if (get_current_input_playback() && 752 if (get_current_input_playback() &&
753 get_current_input_playback()->plugin->set_volume) { 753 get_current_input_playback()->plugin->set_volume &&
754 get_current_input_playback()->plugin->set_volume(l, r); 754 get_current_input_playback()->plugin->set_volume(l, r)) {
755 return; 755 return;
756 } 756 }
757 } 757 }
758 output_set_volume(l, r); 758 output_set_volume(l, r);
759 } 759 }
760 760