From b6b377edd1c35f01a17feadb595a20b4b2444ad7 Mon Sep 17 00:00:00 2001 From: Viliam Mateicka Date: Thu, 3 Dec 2009 20:56:57 +0100 Subject: [PATCH] pcm_volume: change old code to use format instead of bits --- src/pcm_volume.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pcm_volume.c b/src/pcm_volume.c index acb6c41a8..34981118d 100644 --- a/src/pcm_volume.c +++ b/src/pcm_volume.c @@ -165,7 +165,7 @@ pcm_volume(void *buffer, int length, volume); return true; - case 32: + case SAMPLE_FORMAT_S32: pcm_volume_change_32((int32_t*)buffer, length / 4, volume); return true;