aboutsummaryrefslogtreecommitdiffstats
path: root/src/output/OutputControl.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-01-28 11:34:09 +0100
committerMax Kellermann <max@duempel.org>2014-01-28 11:34:09 +0100
commit815d72065c1f2c690228e66b74b8a303cfe33fca (patch)
tree0c6698d1c3d3066036020a367531116cc8c334ce /src/output/OutputControl.hxx
parente0dc721324f34d8b3803dce64545871aec42e537 (diff)
downloadmpd-815d72065c1f2c690228e66b74b8a303cfe33fca.tar.gz
mpd-815d72065c1f2c690228e66b74b8a303cfe33fca.tar.xz
mpd-815d72065c1f2c690228e66b74b8a303cfe33fca.zip
output: rename struct audio_output to AudioOutput
Diffstat (limited to '')
-rw-r--r--src/output/OutputControl.hxx26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/output/OutputControl.hxx b/src/output/OutputControl.hxx
index 7195412ef..08d1cbd24 100644
--- a/src/output/OutputControl.hxx
+++ b/src/output/OutputControl.hxx
@@ -24,26 +24,26 @@
#include <stddef.h>
-struct audio_output;
+struct AudioOutput;
struct AudioFormat;
struct config_param;
class MusicPipe;
void
-audio_output_set_replay_gain_mode(audio_output *ao,
+audio_output_set_replay_gain_mode(AudioOutput *ao,
ReplayGainMode mode);
/**
* Enables the device.
*/
void
-audio_output_enable(audio_output *ao);
+audio_output_enable(AudioOutput *ao);
/**
* Disables the device.
*/
void
-audio_output_disable(audio_output *ao);
+audio_output_disable(AudioOutput *ao);
/**
* Opens or closes the device, depending on the "enabled" flag.
@@ -51,18 +51,18 @@ audio_output_disable(audio_output *ao);
* @return true if the device is open
*/
bool
-audio_output_update(audio_output *ao,
+audio_output_update(AudioOutput *ao,
AudioFormat audio_format,
const MusicPipe &mp);
void
-audio_output_play(audio_output *ao);
+audio_output_play(AudioOutput *ao);
void
-audio_output_pause(audio_output *ao);
+audio_output_pause(AudioOutput *ao);
void
-audio_output_drain_async(audio_output *ao);
+audio_output_drain_async(AudioOutput *ao);
/**
* Clear the "allow_play" flag and send the "CANCEL" command
@@ -70,25 +70,25 @@ audio_output_drain_async(audio_output *ao);
* audio_output_allow_play().
*/
void
-audio_output_cancel(audio_output *ao);
+audio_output_cancel(AudioOutput *ao);
/**
* Set the "allow_play" and signal the thread.
*/
void
-audio_output_allow_play(audio_output *ao);
+audio_output_allow_play(AudioOutput *ao);
void
-audio_output_close(audio_output *ao);
+audio_output_close(AudioOutput *ao);
/**
* Closes the audio output, but if the "always_on" flag is set, put it
* into pause mode instead.
*/
void
-audio_output_release(audio_output *ao);
+audio_output_release(AudioOutput *ao);
void
-audio_output_finish(audio_output *ao);
+audio_output_finish(AudioOutput *ao);
#endif