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/pcm/PcmFormat.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/pcm/PcmFormat.hxx')
-rw-r--r-- | src/pcm/PcmFormat.hxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/pcm/PcmFormat.hxx b/src/pcm/PcmFormat.hxx index bb5ad49ae..b18b4f932 100644 --- a/src/pcm/PcmFormat.hxx +++ b/src/pcm/PcmFormat.hxx @@ -20,7 +20,7 @@ #ifndef MPD_PCM_FORMAT_HXX #define MPD_PCM_FORMAT_HXX -#include "audio_format.h" +#include "AudioFormat.hxx" #include <stdint.h> #include <stddef.h> @@ -42,7 +42,7 @@ class PcmDither; */ const int16_t * pcm_convert_to_16(PcmBuffer &buffer, PcmDither &dither, - enum sample_format src_format, const void *src, + SampleFormat src_format, const void *src, size_t src_size, size_t *dest_size_r); /** @@ -57,7 +57,7 @@ pcm_convert_to_16(PcmBuffer &buffer, PcmDither &dither, */ const int32_t * pcm_convert_to_24(PcmBuffer &buffer, - enum sample_format src_format, const void *src, + SampleFormat src_format, const void *src, size_t src_size, size_t *dest_size_r); /** @@ -72,7 +72,7 @@ pcm_convert_to_24(PcmBuffer &buffer, */ const int32_t * pcm_convert_to_32(PcmBuffer &buffer, - enum sample_format src_format, const void *src, + SampleFormat src_format, const void *src, size_t src_size, size_t *dest_size_r); /** @@ -87,7 +87,7 @@ pcm_convert_to_32(PcmBuffer &buffer, */ const float * pcm_convert_to_float(PcmBuffer &buffer, - enum sample_format src_format, const void *src, + SampleFormat src_format, const void *src, size_t src_size, size_t *dest_size_r); #endif |