aboutsummaryrefslogtreecommitdiffstats
path: root/src/OutputAll.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-08-03 21:00:50 +0200
committerMax Kellermann <max@duempel.org>2013-08-03 21:37:56 +0200
commitd1e7b4e38136f9342aad76c685a13adf0e69f869 (patch)
tree49643b937ddfe735511b566a71398da5a945d7aa /src/OutputAll.hxx
parent67f591a9ce60651da41afc499bd9a22e25314e35 (diff)
downloadmpd-d1e7b4e38136f9342aad76c685a13adf0e69f869.tar.gz
mpd-d1e7b4e38136f9342aad76c685a13adf0e69f869.tar.xz
mpd-d1e7b4e38136f9342aad76c685a13adf0e69f869.zip
audio_format: convert to C++
Diffstat (limited to 'src/OutputAll.hxx')
-rw-r--r--src/OutputAll.hxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/OutputAll.hxx b/src/OutputAll.hxx
index 0bb9f0763..10f8196aa 100644
--- a/src/OutputAll.hxx
+++ b/src/OutputAll.hxx
@@ -29,7 +29,7 @@
#include "replay_gain_info.h"
#include "gerror.h"
-struct audio_format;
+struct AudioFormat;
struct music_buffer;
struct music_chunk;
struct player_control;
@@ -76,14 +76,13 @@ audio_output_all_enable_disable(void);
/**
* Opens all audio outputs which are not disabled.
*
- * @param audio_format the preferred audio format, or NULL to reuse
- * the previous format
+ * @param audio_format the preferred audio format
* @param buffer the #music_buffer where consumed #music_chunk objects
* should be returned
* @return true on success, false on failure
*/
bool
-audio_output_all_open(const struct audio_format *audio_format,
+audio_output_all_open(AudioFormat audio_format,
struct music_buffer *buffer,
GError **error_r);