aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder_control.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/decoder_control.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/src/decoder_control.h b/src/decoder_control.h
index f9e65bc51..0d163257d 100644
--- a/src/decoder_control.h
+++ b/src/decoder_control.h
@@ -39,7 +39,7 @@ enum decoder_state {
#define DECODE_ERROR_FILE 20
struct decoder_control {
- Notify notify;
+ struct notify notify;
volatile enum decoder_state state;
volatile enum decoder_command command;
@@ -81,16 +81,19 @@ decoder_current_song(void)
return dc.current_song;
}
-void dc_command_wait(Notify *notify);
+void
+dc_command_wait(struct notify *notify);
void
-dc_start(Notify *notify, struct song *song);
+dc_start(struct notify *notify, struct song *song);
void
dc_start_async(struct song *song);
-void dc_stop(Notify *notify);
+void
+dc_stop(struct notify *notify);
-int dc_seek(Notify *notify, double where);
+int
+dc_seek(struct notify *notify, double where);
#endif