aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/pcm_volume.c2
-rw-r--r--src/pcm_volume.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/pcm_volume.c b/src/pcm_volume.c
index 7d9d2fe42..dd5f6f90c 100644
--- a/src/pcm_volume.c
+++ b/src/pcm_volume.c
@@ -138,7 +138,7 @@ pcm_volume_change_32(int32_t *buffer, unsigned num_samples, int volume)
}
bool
-pcm_volume(void *buffer, int length,
+pcm_volume(void *buffer, size_t length,
enum sample_format format,
int volume)
{
diff --git a/src/pcm_volume.h b/src/pcm_volume.h
index 3fd722e77..741c4db40 100644
--- a/src/pcm_volume.h
+++ b/src/pcm_volume.h
@@ -68,7 +68,7 @@ pcm_volume_dither(void)
* @return true on success, false if the audio format is not supported
*/
bool
-pcm_volume(void *buffer, int length,
+pcm_volume(void *buffer, size_t length,
enum sample_format format,
int volume);