diff options
author | Max Kellermann <max@duempel.org> | 2013-01-31 22:43:28 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-01-31 22:54:10 +0100 |
commit | f2491c88c86707cc35c7dfc30a1b5a0a29886540 (patch) | |
tree | d7b2079f3122aa486b8717c916b596c421944f82 /src/PcmFormat.hxx | |
parent | 1b175025fecb1c10e6719d4ab79c188d473fccc4 (diff) | |
download | mpd-f2491c88c86707cc35c7dfc30a1b5a0a29886540.tar.gz mpd-f2491c88c86707cc35c7dfc30a1b5a0a29886540.tar.xz mpd-f2491c88c86707cc35c7dfc30a1b5a0a29886540.zip |
PcmDither: convert struct to a class
Diffstat (limited to 'src/PcmFormat.hxx')
-rw-r--r-- | src/PcmFormat.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/PcmFormat.hxx b/src/PcmFormat.hxx index d739f60d1..a5970b2d2 100644 --- a/src/PcmFormat.hxx +++ b/src/PcmFormat.hxx @@ -26,7 +26,7 @@ #include <stddef.h> struct pcm_buffer; -struct pcm_dither; +class PcmDither; /** * Converts PCM samples to 16 bit. If the source format is 24 bit, @@ -41,7 +41,7 @@ struct pcm_dither; * @return the destination buffer */ const int16_t * -pcm_convert_to_16(struct pcm_buffer *buffer, struct pcm_dither *dither, +pcm_convert_to_16(struct pcm_buffer *buffer, PcmDither &dither, enum sample_format src_format, const void *src, size_t src_size, size_t *dest_size_r); |