diff options
author | Max Kellermann <max@duempel.org> | 2013-08-03 21:00:50 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-08-03 21:37:56 +0200 |
commit | d1e7b4e38136f9342aad76c685a13adf0e69f869 (patch) | |
tree | 49643b937ddfe735511b566a71398da5a945d7aa /src/CrossFade.hxx | |
parent | 67f591a9ce60651da41afc499bd9a22e25314e35 (diff) | |
download | mpd-d1e7b4e38136f9342aad76c685a13adf0e69f869.tar.gz mpd-d1e7b4e38136f9342aad76c685a13adf0e69f869.tar.xz mpd-d1e7b4e38136f9342aad76c685a13adf0e69f869.zip |
audio_format: convert to C++
Diffstat (limited to 'src/CrossFade.hxx')
-rw-r--r-- | src/CrossFade.hxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/CrossFade.hxx b/src/CrossFade.hxx index 1c4670758..f285c0e9a 100644 --- a/src/CrossFade.hxx +++ b/src/CrossFade.hxx @@ -20,7 +20,7 @@ #ifndef MPD_CROSSFADE_HXX #define MPD_CROSSFADE_HXX -struct audio_format; +struct AudioFormat; struct music_chunk; /** @@ -44,8 +44,7 @@ unsigned cross_fade_calc(float duration, float total_time, float mixramp_db, float mixramp_delay, float replay_gain_db, float replay_gain_prev_db, char *mixramp_start, char *mixramp_prev_end, - const struct audio_format *af, - const struct audio_format *old_format, + AudioFormat af, AudioFormat old_format, unsigned max_chunks); #endif |