diff options
author | Max Kellermann <max@duempel.org> | 2014-01-28 11:39:12 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-01-29 08:10:46 +0100 |
commit | 4657a3bd0fd97583e23cd65b80db71a71345fc13 (patch) | |
tree | c0aed4a1e4ef57d4686b400efd17069e2bf9958c /src/output/OutputControl.hxx | |
parent | cb7366f47245bf259cef0b8c863eb3b724cff683 (diff) | |
download | mpd-4657a3bd0fd97583e23cd65b80db71a71345fc13.tar.gz mpd-4657a3bd0fd97583e23cd65b80db71a71345fc13.tar.xz mpd-4657a3bd0fd97583e23cd65b80db71a71345fc13.zip |
output: move functions into the AudioOutput struct
Diffstat (limited to '')
-rw-r--r-- | src/output/OutputControl.hxx | 69 |
1 files changed, 0 insertions, 69 deletions
diff --git a/src/output/OutputControl.hxx b/src/output/OutputControl.hxx index 08d1cbd24..fff3fe406 100644 --- a/src/output/OutputControl.hxx +++ b/src/output/OutputControl.hxx @@ -20,75 +20,6 @@ #ifndef MPD_OUTPUT_CONTROL_HXX #define MPD_OUTPUT_CONTROL_HXX -#include "ReplayGainInfo.hxx" - -#include <stddef.h> - struct AudioOutput; -struct AudioFormat; -struct config_param; -class MusicPipe; - -void -audio_output_set_replay_gain_mode(AudioOutput *ao, - ReplayGainMode mode); - -/** - * Enables the device. - */ -void -audio_output_enable(AudioOutput *ao); - -/** - * Disables the device. - */ -void -audio_output_disable(AudioOutput *ao); - -/** - * Opens or closes the device, depending on the "enabled" flag. - * - * @return true if the device is open - */ -bool -audio_output_update(AudioOutput *ao, - AudioFormat audio_format, - const MusicPipe &mp); - -void -audio_output_play(AudioOutput *ao); - -void -audio_output_pause(AudioOutput *ao); - -void -audio_output_drain_async(AudioOutput *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(AudioOutput *ao); - -/** - * Set the "allow_play" and signal the thread. - */ -void -audio_output_allow_play(AudioOutput *ao); - -void -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(AudioOutput *ao); - -void -audio_output_finish(AudioOutput *ao); #endif |