diff options
author | Max Kellermann <max@duempel.org> | 2009-03-07 19:55:57 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-03-07 19:55:57 +0100 |
commit | b13cd03f756db4afe3fd719e551801cd632a596b (patch) | |
tree | 8f23462c4f21ca336183f4a806973fb03f49212b /src/output_control.h | |
parent | 498ec26f25e11cf5eefd86dd4abebbf3722dc999 (diff) | |
download | mpd-b13cd03f756db4afe3fd719e551801cd632a596b.tar.gz mpd-b13cd03f756db4afe3fd719e551801cd632a596b.tar.xz mpd-b13cd03f756db4afe3fd719e551801cd632a596b.zip |
output_all: audio_output_all_update() returns bool
audio_output_all_update() returns true when there is at least open
output device which is open.
Diffstat (limited to '')
-rw-r--r-- | src/output_control.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/output_control.h b/src/output_control.h index a4287646c..dadda860d 100644 --- a/src/output_control.h +++ b/src/output_control.h @@ -45,8 +45,10 @@ audio_output_open(struct audio_output *ao, /** * Opens or closes the device, depending on the "enabled" flag. + * + * @return true if the device is open */ -void +bool audio_output_update(struct audio_output *ao, const struct audio_format *audio_format); |