Signed-off-by: Jaroslav Kysela <perex@perex.cz>
*/
#define SND_PCM_PLUGIN_RATE_MIN 4000 /**< minimal rate for the rate plugin */
-#define SND_PCM_PLUGIN_RATE_MAX 192000 /**< maximal rate for the rate plugin */
+#define SND_PCM_PLUGIN_RATE_MAX 768000 /**< maximal rate for the rate plugin */
/* ROUTE_FLOAT should be set to 0 for machines without FP unit - like iPAQ */
#ifdef HAVE_SOFT_FLOAT
#include "plugin_ops.h"
-/* LINEAR_DIV needs to be large enough to handle resampling from 192000 -> 8000 */
+/* LINEAR_DIV needs to be large enough to handle resampling from 768000 -> 8000 */
#define LINEAR_DIV_SHIFT 19
#define LINEAR_DIV (1<<LINEAR_DIV_SHIFT)
unsigned int buffer_time;
assert(pcm);
- assert(rate >= 5000 && rate <= 192000);
+ assert(rate >= 5000 && rate <= 786000);
assert(channels >= 1 && channels <= 512);
rrate = rate;
assert(playback_pcm);
assert(capture_pcm);
- assert(rate >= 5000 && rate <= 192000);
+ assert(rate >= 5000 && rate <= 768000);
assert(channels >= 1 && channels <= 512);
pcms[0] = playback_pcm;