Mercurial > audlegacy
comparison src/audacious/plugin.h @ 4109:2d6fd3f630f0
Adds playback_free() function to fix memory leak in playback_stop(). (Bugzilla #42)
| author | Jussi Judin <jjudin+audacious@iki.fi> |
|---|---|
| date | Tue, 25 Dec 2007 00:53:33 -0600 |
| parents | 9e24c8746d99 |
| children | 704607c1f858 |
comparison
equal
deleted
inserted
replaced
| 4108:dfe5d686749e | 4109:2d6fd3f630f0 |
|---|---|
| 563 /* Probe */ | 563 /* Probe */ |
| 564 ProbeResult *(*input_check_file)(const gchar * filename, gboolean show_warning); | 564 ProbeResult *(*input_check_file)(const gchar * filename, gboolean show_warning); |
| 565 | 565 |
| 566 /* InputPlayback */ | 566 /* InputPlayback */ |
| 567 InputPlayback *(*playback_new)(void); | 567 InputPlayback *(*playback_new)(void); |
| 568 void (*playback_free)(InputPlayback *); | |
| 568 void (*playback_run)(InputPlayback *); | 569 void (*playback_run)(InputPlayback *); |
| 569 | 570 |
| 570 /* Flows */ | 571 /* Flows */ |
| 571 gsize (*flow_execute)(Flow *flow, gint time, gpointer *data, gsize len, AFormat fmt, | 572 gsize (*flow_execute)(Flow *flow, gint time, gpointer *data, gsize len, AFormat fmt, |
| 572 gint srate, gint channels); | 573 gint srate, gint channels); |
| 909 | 910 |
| 910 #define aud_input_check_file _audvt->input_check_file | 911 #define aud_input_check_file _audvt->input_check_file |
| 911 | 912 |
| 912 #define aud_playback_new _audvt->playback_new | 913 #define aud_playback_new _audvt->playback_new |
| 913 #define aud_playback_run _audvt->playback_run | 914 #define aud_playback_run _audvt->playback_run |
| 914 #define aud_playback_free(x) g_slice_free(InputPlayback, (x)) | 915 #define aud_playback_free(x) _audvt->playback_free |
| 915 | 916 |
| 916 #define aud_flow_execute _audvt->flow_execute | 917 #define aud_flow_execute _audvt->flow_execute |
| 917 #define aud_flow_new _audvt->flow_new | 918 #define aud_flow_new _audvt->flow_new |
| 918 #define aud_flow_link_element _audvt->flow_link_element | 919 #define aud_flow_link_element _audvt->flow_link_element |
| 919 #define aud_flow_unlink_element _audvt->flow_unlink_element | 920 #define aud_flow_unlink_element _audvt->flow_unlink_element |
