aboutsummaryrefslogtreecommitdiffstats
path: root/src/PcmFormat.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/PcmFormat.hxx')
-rw-r--r--src/PcmFormat.hxx4
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);