diff options
author | Warren Dukes <warren.dukes@gmail.com> | 2004-02-23 23:41:20 +0000 |
---|---|---|
committer | Warren Dukes <warren.dukes@gmail.com> | 2004-02-23 23:41:20 +0000 |
commit | d35747a40c7dea12de95f78a4f283a45ef687597 (patch) | |
tree | 3a85f138e68c7ef3e5a9ece863ed7266ad1cd7ce /src/pcm_utils.h | |
download | mpd-d35747a40c7dea12de95f78a4f283a45ef687597.tar.gz mpd-d35747a40c7dea12de95f78a4f283a45ef687597.tar.xz mpd-d35747a40c7dea12de95f78a4f283a45ef687597.zip |
import from SF CVS
git-svn-id: https://svn.musicpd.org/mpd/trunk@1 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r-- | src/pcm_utils.h | 16 |
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 |