aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/pcm_utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pcm_utils.c b/src/pcm_utils.c
index c3526f9d1..d60fcce66 100644
--- a/src/pcm_utils.c
+++ b/src/pcm_utils.c
@@ -329,7 +329,7 @@ static size_t pcm_convertSampleRate(int8_t channels, uint32_t inSampleRate,
{
uint32_t rd_dat = 0;
uint32_t wr_dat = 0;
- int16_t *in = (int16_t *)inBuffer;
+ const int16_t *in = (const int16_t *)inBuffer;
int16_t *out = (int16_t *)outBuffer;
uint32_t nlen = outSize / 2;
int16_t lsample, rsample;