From 69f6faef31047486b5b3a66d8508181e084ce980 Mon Sep 17 00:00:00 2001 From: =?utf8?q?R=C3=A9mi=20Denis-Courmont?= Date: Mon, 19 Oct 2009 22:04:51 +0300 Subject: [PATCH] Disable audio time stretch if there is no FPU It's not implemented for fixed-point. And it's so slow that it would probably not make sense anyway. --- src/libvlc-module.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/libvlc-module.c b/src/libvlc-module.c index 41b841ace5..caa86c9224 100644 --- a/src/libvlc-module.c +++ b/src/libvlc-module.c @@ -36,6 +36,7 @@ #include #include +#include #include "libvlc.h" //#define Nothing here, this is just to prevent update-po from being stupid @@ -1568,7 +1569,7 @@ vlc_module_begin () add_bool( "audio-replay-gain-peak-protection", true, NULL, AUDIO_REPLAY_GAIN_PEAK_PROTECTION_TEXT, AUDIO_REPLAY_GAIN_PEAK_PROTECTION_LONGTEXT, true ) - add_bool( "audio-time-stretch", true, NULL, + add_bool( "audio-time-stretch", HAVE_FPU, NULL, AUDIO_TIME_STRETCH_TEXT, AUDIO_TIME_STRETCH_LONGTEXT, false ) set_subcategory( SUBCAT_AUDIO_AOUT ) -- 2.39.2