aboutsummaryrefslogtreecommitdiffstats
path: root/src/pcm_volume.c
diff options
context:
space:
mode:
authorViliam Mateicka <viliam.mateicka@gmail.com>2009-12-03 20:56:57 +0100
committerViliam Mateicka <viliam.mateicka@gmail.com>2009-12-03 20:56:57 +0100
commitb6b377edd1c35f01a17feadb595a20b4b2444ad7 (patch)
treefeab34d102f31eb5830bcca79c756aae0f34214d /src/pcm_volume.c
parenta76097210f3484e77c6826e6b4fb1d50deef3af0 (diff)
downloadmpd-b6b377edd1c35f01a17feadb595a20b4b2444ad7.tar.gz
mpd-b6b377edd1c35f01a17feadb595a20b4b2444ad7.tar.xz
mpd-b6b377edd1c35f01a17feadb595a20b4b2444ad7.zip
pcm_volume: change old code to use format instead of bits
Diffstat (limited to 'src/pcm_volume.c')
-rw-r--r--src/pcm_volume.c2
1 files changed, 1 insertions, 1 deletions
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;