summaryrefslogtreecommitdiff
path: root/src/pcm_utils.h
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2004-02-23 23:41:20 +0000
committerWarren Dukes <warren.dukes@gmail.com>2004-02-23 23:41:20 +0000
commitd35747a40c7dea12de95f78a4f283a45ef687597 (patch)
tree3a85f138e68c7ef3e5a9ece863ed7266ad1cd7ce /src/pcm_utils.h
import from SF CVS
git-svn-id: https://svn.musicpd.org/mpd/trunk@1 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/pcm_utils.h')
-rw-r--r--src/pcm_utils.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/pcm_utils.h b/src/pcm_utils.h
new file mode 100644
index 000000000..9ce408310
--- /dev/null
+++ b/src/pcm_utils.h
@@ -0,0 +1,16 @@
+#ifndef PCM_UTILS_H
+#define PMC_UTILS_H
+
+#include "audio.h"
+
+#include <stdlib.h>
+
+void pcm_changeBufferEndianness(char * buffer, int bufferSize, int bits);
+
+void pcm_volumeChange(char * buffer, int bufferSize, AudioFormat * format,
+ int volume);
+
+void pcm_mix(char * buffer1, char * buffer2, size_t bufferSize1,
+ size_t bufferSize2, AudioFormat * format, float portion1);
+
+#endif