aboutsummaryrefslogtreecommitdiffstats
path: root/src/pcm_utils.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/pcm_utils.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pcm_utils.c b/src/pcm_utils.c
index d60fcce66..9274c2eb6 100644
--- a/src/pcm_utils.c
+++ b/src/pcm_utils.c
@@ -113,7 +113,7 @@ void pcm_volumeChange(char *buffer, int bufferSize,
break;
default:
- FATAL("%i bits not supported by pcm_volumeChange!\n",
+ FATAL("%u bits not supported by pcm_volumeChange!\n",
format->bits);
}
}
@@ -188,7 +188,7 @@ static void pcm_add(char *buffer1, const char *buffer2, size_t size,
break;
default:
- FATAL("%i bits not supported by pcm_add!\n", format->bits);
+ FATAL("%u bits not supported by pcm_add!\n", format->bits);
}
}
@@ -436,7 +436,7 @@ pcm_convert_24_to_16(int16_t *out, const int32_t *in,
}
}
-static const char *pcm_convertTo16bit(int8_t bits, const char *inBuffer,
+static const char *pcm_convertTo16bit(uint8_t bits, const char *inBuffer,
size_t inSize, size_t *outSize)
{
static char *buf;