aboutsummaryrefslogtreecommitdiffstats
path: root/src/pcm_utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/pcm_utils.h')
-rw-r--r--src/pcm_utils.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/pcm_utils.h b/src/pcm_utils.h
index 7362cb7b8..752fac3e7 100644
--- a/src/pcm_utils.h
+++ b/src/pcm_utils.h
@@ -45,13 +45,13 @@ typedef struct _ConvState {
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);
+void pcm_mix(char *buffer1, const char *buffer2, size_t bufferSize1,
+ size_t bufferSize2, const AudioFormat * format, float portion1);
-size_t pcm_convertAudioFormat(AudioFormat * inFormat, char *inBuffer,
+size_t pcm_convertAudioFormat(AudioFormat * inFormat, const char *inBuffer,
size_t inSize, AudioFormat * outFormat,
char *outBuffer, ConvState *convState);
-size_t pcm_sizeOfConvBuffer(AudioFormat * inFormat, size_t inSize,
- AudioFormat * outFormat);
+size_t pcm_sizeOfConvBuffer(const AudioFormat * inFormat, size_t inSize,
+ const AudioFormat * outFormat);
#endif