From b99ecb4dc96f45c0e0ca4b47b82efea57a21f016 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 21 Mar 2012 19:37:33 +0100 Subject: audio_format: remove the packed S24 format For simplicity, the MPD core should not have to deal with packing. It is rarely used, and those plugins that need it should use the pcm_export library instead. --- src/pcm_mix.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/pcm_mix.c') diff --git a/src/pcm_mix.c b/src/pcm_mix.c index 45cc8fe9..5119f592 100644 --- a/src/pcm_mix.c +++ b/src/pcm_mix.c @@ -119,7 +119,6 @@ pcm_add_vol(void *buffer1, const void *buffer2, size_t size, { switch (format) { case SAMPLE_FORMAT_UNDEFINED: - case SAMPLE_FORMAT_S24: case SAMPLE_FORMAT_DSD: case SAMPLE_FORMAT_DSD_OVER_USB: /* not implemented */ @@ -230,7 +229,6 @@ pcm_add(void *buffer1, const void *buffer2, size_t size, { switch (format) { case SAMPLE_FORMAT_UNDEFINED: - case SAMPLE_FORMAT_S24: case SAMPLE_FORMAT_DSD: case SAMPLE_FORMAT_DSD_OVER_USB: /* not implemented */ -- cgit v1.2.3