From d2051c7f50deff0532566c070aaf4fec5d774558 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 25 Dec 2009 17:29:27 +0100 Subject: filter/volume: support 32 bit samples The pcm_volume library supports 32 bit samples, there's no reason to disallow it in the filter plugin. --- src/filter/volume_filter_plugin.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/filter/volume_filter_plugin.c') diff --git a/src/filter/volume_filter_plugin.c b/src/filter/volume_filter_plugin.c index 285a4b7a4..11549784f 100644 --- a/src/filter/volume_filter_plugin.c +++ b/src/filter/volume_filter_plugin.c @@ -75,14 +75,6 @@ volume_filter_open(struct filter *_filter, { struct volume_filter *filter = (struct volume_filter *)_filter; - if (audio_format->format != SAMPLE_FORMAT_S8 && - audio_format->format != SAMPLE_FORMAT_S16 && - audio_format->format != SAMPLE_FORMAT_S24_P32) { - g_set_error(error_r, volume_quark(), 0, - "Unsupported audio format"); - return false; - } - if (audio_format->reverse_endian) { g_set_error(error_r, volume_quark(), 0, "Software volume for reverse endian " -- cgit v1.2.3