Mercurial > audlegacy
changeset 3039:c981df78db8c
added hooks: playback pause and playback unpause
author | Giacomo Lozito <james@develia.org> |
---|---|
date | Thu, 12 Jul 2007 01:01:54 +0200 |
parents | ff886a3a2098 |
children | 910bc20f6816 |
files | src/audacious/playback.c |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/audacious/playback.c Wed Jul 11 22:33:43 2007 +0200 +++ b/src/audacious/playback.c Thu Jul 12 01:01:54 2007 +0200 @@ -136,6 +136,11 @@ get_current_input_playback()->plugin->pause(get_current_input_playback(), ip_data.paused); + if (ip_data.paused) + hook_call("playback pause", NULL); + else + hook_call("playback unpause", NULL); + g_return_if_fail(mainwin_playstatus != NULL); if (ip_data.paused)