aboutsummaryrefslogtreecommitdiffstats
path: root/src/output_all.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/output_all.h28
1 files changed, 18 insertions, 10 deletions
diff --git a/src/output_all.h b/src/output_all.h
index 15a1dce7d..0b782f11b 100644
--- a/src/output_all.h
+++ b/src/output_all.h
@@ -31,6 +31,12 @@
struct audio_format;
struct tag;
+void
+audio_output_all_init(void);
+
+void
+audio_output_all_finish(void);
+
/**
* Returns the total number of audio output devices, including those
* who are disabled right now.
@@ -50,20 +56,22 @@ audio_output_get(unsigned i);
struct audio_output *
audio_output_find(const char *name);
-void initAudioDriver(void);
-
-void finishAudioDriver(void);
-
-bool openAudioDevice(const struct audio_format *audioFormat);
+bool
+audio_output_all_open(const struct audio_format *audio_format);
-bool playAudio(const char *playChunk, size_t size);
+void
+audio_output_all_close(void);
-void audio_output_pause_all(void);
+bool
+audio_output_all_play(const char *data, size_t size);
-void dropBufferedAudio(void);
+void
+audio_output_all_tag(const struct tag *tag);
-void closeAudioDevice(void);
+void
+audio_output_all_pause(void);
-void sendMetadataToAudioDevice(const struct tag *tag);
+void
+audio_output_all_cancel(void);
#endif