summaryrefslogtreecommitdiff
path: root/libs/ardour
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ardour')
-rw-r--r--libs/ardour/crossfade.cc2
-rw-r--r--libs/ardour/resampled_source.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/libs/ardour/crossfade.cc b/libs/ardour/crossfade.cc
index fb4325865c..05ea7765f0 100644
--- a/libs/ardour/crossfade.cc
+++ b/libs/ardour/crossfade.cc
@@ -848,7 +848,7 @@ Crossfade::set_follow_overlap (bool yn)
nframes_t
Crossfade::set_length (nframes_t len)
{
- nframes_t limit;
+ nframes_t limit = 0;
switch (_anchor_point) {
case StartOfIn:
diff --git a/libs/ardour/resampled_source.cc b/libs/ardour/resampled_source.cc
index 083fde95a1..1993aba911 100644
--- a/libs/ardour/resampled_source.cc
+++ b/libs/ardour/resampled_source.cc
@@ -37,7 +37,7 @@ ResampledImportableSource::ResampledImportableSource (boost::shared_ptr<Importab
/* Initialize the sample rate converter. */
- int src_type = SRC_LINEAR;
+ int src_type = SRC_SINC_BEST_QUALITY;
switch (srcq) {
case SrcBest: