diff options
author | Max Kellermann <max@duempel.org> | 2012-08-08 22:47:51 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2012-08-08 22:48:59 +0200 |
commit | f794b1e1aac61fd2e6f4758e0cebfcd8d15706be (patch) | |
tree | e7946788914c47dc6cc3cf4ce4224723415159ce /src/output_all.h | |
parent | 8c425c758c9217b3388ca5bc1ea2883a1c3c2bc6 (diff) | |
download | mpd-f794b1e1aac61fd2e6f4758e0cebfcd8d15706be.tar.gz mpd-f794b1e1aac61fd2e6f4758e0cebfcd8d15706be.tar.xz mpd-f794b1e1aac61fd2e6f4758e0cebfcd8d15706be.zip |
output_all: add basic GError support
Diffstat (limited to 'src/output_all.h')
-rw-r--r-- | src/output_all.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/output_all.h b/src/output_all.h index 4eeb94f13..00864c9ba 100644 --- a/src/output_all.h +++ b/src/output_all.h @@ -26,6 +26,8 @@ #ifndef OUTPUT_ALL_H #define OUTPUT_ALL_H +#include "gerror.h" + #include <stdbool.h> #include <stddef.h> @@ -84,7 +86,8 @@ audio_output_all_enable_disable(void); */ bool audio_output_all_open(const struct audio_format *audio_format, - struct music_buffer *buffer); + struct music_buffer *buffer, + GError **error_r); /** * Closes all audio outputs. @@ -108,7 +111,7 @@ audio_output_all_release(void); * (all closed then) */ bool -audio_output_all_play(struct music_chunk *chunk); +audio_output_all_play(struct music_chunk *chunk, GError **error_r); /** * Checks if the output devices have drained their music pipe, and |