# HG changeset patch # User giacomo # Date 1171293527 28800 # Node ID 87c53f0e9e0d793854a85f734d3528b43694cc97 # Parent fcf73026963935edef48d4943fb378a27b07cdaf [svn] - added set volume hook diff -r fcf730269639 -r 87c53f0e9e0d ChangeLog --- a/ChangeLog Mon Feb 12 04:34:56 2007 -0800 +++ b/ChangeLog Mon Feb 12 07:18:47 2007 -0800 @@ -1,3 +1,10 @@ +2007-02-12 12:34:56 +0000 Giacomo Lozito + revision [4018] + - convert filename string to utf8 for playlist->title (closes bug #789) + trunk/src/audacious/playlist.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + + 2007-02-11 13:19:07 +0000 Yoshiki Yazawa revision [4016] first try for libid3tag integration. this improved libid3tag supports vfs operations and is capable of adding id3v2 tag to files which doesn't have id3v2 tag ever. diff -r fcf730269639 -r 87c53f0e9e0d src/audacious/build_stamp.c --- a/src/audacious/build_stamp.c Mon Feb 12 04:34:56 2007 -0800 +++ b/src/audacious/build_stamp.c Mon Feb 12 07:18:47 2007 -0800 @@ -1,2 +1,2 @@ #include -const gchar *svn_stamp = "20070211-4016"; +const gchar *svn_stamp = "20070212-4018"; diff -r fcf730269639 -r 87c53f0e9e0d src/audacious/input.c --- a/src/audacious/input.c Mon Feb 12 04:34:56 2007 -0800 +++ b/src/audacious/input.c Mon Feb 12 07:18:47 2007 -0800 @@ -42,6 +42,7 @@ #include "util.h" #include "visualization.h" #include "widgets/widgetcore.h" +#include "hook.h" #include "vfs.h" #include "vfs_buffer.h" @@ -748,6 +749,8 @@ void input_set_volume(gint l, gint r) { + gint h_vol[2]; + if (playback_get_playing()) { if (get_current_input_playback() && get_current_input_playback()->plugin->set_volume && @@ -756,6 +759,10 @@ } } output_set_volume(l, r); + + h_vol[0] = l; + h_vol[1] = r; + hook_call("volume set", h_vol); } void