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/OutputPlugin.hxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/OutputPlugin.hxx') diff --git a/src/OutputPlugin.hxx b/src/OutputPlugin.hxx index 8eb125029..4e19ffcfb 100644 --- a/src/OutputPlugin.hxx +++ b/src/OutputPlugin.hxx @@ -26,7 +26,7 @@ #include struct config_param; -struct audio_format; +struct AudioFormat; struct Tag; /** @@ -89,7 +89,7 @@ struct audio_output_plugin { * @param error location to store the error occurring, or NULL * to ignore errors */ - bool (*open)(struct audio_output *data, struct audio_format *audio_format, + bool (*open)(struct audio_output *data, AudioFormat &audio_format, GError **error); /** @@ -181,7 +181,7 @@ void ao_plugin_disable(struct audio_output *ao); bool -ao_plugin_open(struct audio_output *ao, struct audio_format *audio_format, +ao_plugin_open(struct audio_output *ao, AudioFormat &audio_format, GError **error); void -- cgit v1.2.3