diff options
author | Max Kellermann <max@duempel.org> | 2013-08-10 18:02:44 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-09-04 18:14:22 +0200 |
commit | 29030b54c98b0aee65fbc10ebf7ba36bed98c02c (patch) | |
tree | 79766830b55ebca38ddbce84d8d548227eedb69e /src/OutputAll.hxx | |
parent | c9fcc7f14860777458153eb2d13c773ccfa1daa2 (diff) | |
download | mpd-29030b54c98b0aee65fbc10ebf7ba36bed98c02c.tar.gz mpd-29030b54c98b0aee65fbc10ebf7ba36bed98c02c.tar.xz mpd-29030b54c98b0aee65fbc10ebf7ba36bed98c02c.zip |
util/Error: new error passing library
Replaces GLib's GError.
Diffstat (limited to '')
-rw-r--r-- | src/OutputAll.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/OutputAll.hxx b/src/OutputAll.hxx index 10f8196aa..fc27a4c6e 100644 --- a/src/OutputAll.hxx +++ b/src/OutputAll.hxx @@ -27,12 +27,12 @@ #define OUTPUT_ALL_H #include "replay_gain_info.h" -#include "gerror.h" struct AudioFormat; struct music_buffer; struct music_chunk; struct player_control; +class Error; /** * Global initialization: load audio outputs from the configuration @@ -84,7 +84,7 @@ audio_output_all_enable_disable(void); bool audio_output_all_open(AudioFormat audio_format, struct music_buffer *buffer, - GError **error_r); + Error &error); /** * Closes all audio outputs. @@ -111,7 +111,7 @@ audio_output_all_set_replay_gain_mode(enum replay_gain_mode mode); * (all closed then) */ bool -audio_output_all_play(struct music_chunk *chunk, GError **error_r); +audio_output_all_play(struct music_chunk *chunk, Error &error); /** * Checks if the output devices have drained their music pipe, and |