aboutsummaryrefslogtreecommitdiffstats
path: root/src/pcm_utils.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/pcm_utils.h26
1 files changed, 0 insertions, 26 deletions
diff --git a/src/pcm_utils.h b/src/pcm_utils.h
index 5d29420f3..020cdaceb 100644
--- a/src/pcm_utils.h
+++ b/src/pcm_utils.h
@@ -19,24 +19,9 @@
#ifndef MPD_PCM_UTILS_H
#define MPD_PCM_UTILS_H
-#include "pcm_resample.h"
-#include "pcm_dither.h"
-
#include <glib.h>
#include <stdint.h>
-#include <stddef.h>
-
-struct audio_format;
-
-struct pcm_convert_state {
- struct pcm_resample_state resample;
-
- struct pcm_dither_24 dither;
-
- /* Strict C99 doesn't allow empty structs */
- int error;
-};
/**
* Check if the value is within the range of the provided bit size,
@@ -52,15 +37,4 @@ pcm_range(int32_t sample, unsigned bits)
return sample;
}
-void pcm_convert_init(struct pcm_convert_state *state);
-
-size_t pcm_convert(const struct audio_format *inFormat,
- const char *inBuffer, size_t inSize,
- const struct audio_format *outFormat,
- char *outBuffer,
- struct pcm_convert_state *convState);
-
-size_t pcm_convert_size(const struct audio_format *inFormat, size_t inSize,
- const struct audio_format *outFormat);
-
#endif