aboutsummaryrefslogtreecommitdiffstats
path: root/src/OutputControl.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/OutputControl.hxx')
-rw-r--r--src/OutputControl.hxx28
1 files changed, 16 insertions, 12 deletions
diff --git a/src/OutputControl.hxx b/src/OutputControl.hxx
index d8f0b432d..c63383293 100644
--- a/src/OutputControl.hxx
+++ b/src/OutputControl.hxx
@@ -30,20 +30,20 @@ struct config_param;
class MusicPipe;
void
-audio_output_set_replay_gain_mode(struct audio_output *ao,
+audio_output_set_replay_gain_mode(audio_output *ao,
ReplayGainMode mode);
/**
* Enables the device.
*/
void
-audio_output_enable(struct audio_output *ao);
+audio_output_enable(audio_output *ao);
/**
* Disables the device.
*/
void
-audio_output_disable(struct audio_output *ao);
+audio_output_disable(audio_output *ao);
/**
* Opens or closes the device, depending on the "enabled" flag.
@@ -51,40 +51,44 @@ audio_output_disable(struct audio_output *ao);
* @return true if the device is open
*/
bool
-audio_output_update(struct audio_output *ao,
+audio_output_update(audio_output *ao,
AudioFormat audio_format,
const MusicPipe &mp);
void
-audio_output_play(struct audio_output *ao);
+audio_output_play(audio_output *ao);
-void audio_output_pause(struct audio_output *ao);
+void
+audio_output_pause(audio_output *ao);
void
-audio_output_drain_async(struct audio_output *ao);
+audio_output_drain_async(audio_output *ao);
/**
* Clear the "allow_play" flag and send the "CANCEL" command
* asynchronously. To finish the operation, the caller has to call
* audio_output_allow_play().
*/
-void audio_output_cancel(struct audio_output *ao);
+void
+audio_output_cancel(audio_output *ao);
/**
* Set the "allow_play" and signal the thread.
*/
void
-audio_output_allow_play(struct audio_output *ao);
+audio_output_allow_play(audio_output *ao);
-void audio_output_close(struct audio_output *ao);
+void
+audio_output_close(audio_output *ao);
/**
* Closes the audio output, but if the "always_on" flag is set, put it
* into pause mode instead.
*/
void
-audio_output_release(struct audio_output *ao);
+audio_output_release(audio_output *ao);
-void audio_output_finish(struct audio_output *ao);
+void
+audio_output_finish(audio_output *ao);
#endif