Mercurial > audlegacy
comparison src/audacious/input.c @ 4587:ab8bc8a89a52
remove ui_main_set_initial_volume, call volume set hook instead
author | Tomasz Mon <desowin@gmail.com> |
---|---|
date | Sun, 25 May 2008 15:12:17 +0200 |
parents | cf6711eeb12f |
children | a77d02342ee1 |
comparison
equal
deleted
inserted
replaced
4586:5fa09aa0b14a | 4587:ab8bc8a89a52 |
---|---|
723 gint h_vol[2]; | 723 gint h_vol[2]; |
724 | 724 |
725 h_vol[0] = l; | 725 h_vol[0] = l; |
726 h_vol[1] = r; | 726 h_vol[1] = r; |
727 hook_call("volume set", h_vol); | 727 hook_call("volume set", h_vol); |
728 | 728 |
729 if (playback_get_playing()) | 729 if (playback_get_playing()) |
730 if ((playback = get_current_input_playback()) != NULL) | 730 if ((playback = get_current_input_playback()) != NULL) |
731 if (playback->plugin->set_volume != NULL) | 731 if (playback->plugin->set_volume != NULL) |
732 { | 732 { |
733 plugin_set_current((Plugin *)(playback->plugin)); | 733 plugin_set_current((Plugin *)(playback->plugin)); |