Mercurial > audlegacy
diff audacious/input.c @ 1273:3b990c26fc46 trunk
[svn] - Support for the buffer indicator in playpaus.png that was apparently
ignored by XMMS devs. Supports mp3 streams only, at the moment.
| author | nhjm449 |
|---|---|
| date | Fri, 16 Jun 2006 02:17:33 -0700 |
| parents | 7918849bad3e |
| children | f12d7e208b43 |
line wrap: on
line diff
--- a/audacious/input.c Fri Jun 16 01:45:08 2006 -0700 +++ b/audacious/input.c Fri Jun 16 02:17:33 2006 -0700 @@ -61,6 +61,7 @@ FALSE, FALSE, FALSE, + FALSE, NULL }; @@ -747,6 +748,22 @@ } void +input_set_status_buffering(gboolean status) +{ + if (!bmp_playback_get_playing()) + return; + + if (!get_current_input_plugin()) + return; + + ip_data.buffering = status; + + if (ip_data.buffering == TRUE && mainwin_playstatus->ps_status == STATUS_STOP) + mainwin_playstatus->ps_status = STATUS_PLAY; + playstatus_set_status_buffering(mainwin_playstatus, ip_data.buffering); +} + +void input_about(gint index) { InputPlugin *ip;
