From d1e7b4e38136f9342aad76c685a13adf0e69f869 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sat, 3 Aug 2013 21:00:50 +0200 Subject: audio_format: convert to C++ --- src/OutputAll.hxx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/OutputAll.hxx') 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); -- cgit v1.2.3