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/CheckAudioFormat.hxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/CheckAudioFormat.hxx') diff --git a/src/CheckAudioFormat.hxx b/src/CheckAudioFormat.hxx index cb3e43c22..7fbce7f98 100644 --- a/src/CheckAudioFormat.hxx +++ b/src/CheckAudioFormat.hxx @@ -20,7 +20,7 @@ #ifndef MPD_CHECK_AUDIO_FORMAT_HXX #define MPD_CHECK_AUDIO_FORMAT_HXX -#include "audio_format.h" +#include "AudioFormat.hxx" #include @@ -38,7 +38,7 @@ bool audio_check_sample_rate(unsigned long sample_rate, GError **error_r); bool -audio_check_sample_format(enum sample_format, GError **error_r); +audio_check_sample_format(SampleFormat sample_format, GError **error_r); bool audio_check_channel_count(unsigned sample_format, GError **error_r); @@ -47,8 +47,8 @@ audio_check_channel_count(unsigned sample_format, GError **error_r); * Wrapper for audio_format_init(), which checks all attributes. */ bool -audio_format_init_checked(struct audio_format *af, unsigned long sample_rate, - enum sample_format sample_format, unsigned channels, +audio_format_init_checked(AudioFormat &af, unsigned long sample_rate, + SampleFormat sample_format, unsigned channels, GError **error_r); #endif -- cgit v1.2.3