diff options
Diffstat (limited to 'libs')
-rw-r--r-- | libs/ardour/crossfade.cc | 2 | ||||
-rw-r--r-- | libs/ardour/resampled_source.cc | 2 | ||||
-rw-r--r-- | libs/surfaces/tranzport/show.cc | 2 |
3 files changed, 3 insertions, 3 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: diff --git a/libs/surfaces/tranzport/show.cc b/libs/surfaces/tranzport/show.cc index 30c8fbffa9..30f4de3b57 100644 --- a/libs/surfaces/tranzport/show.cc +++ b/libs/surfaces/tranzport/show.cc @@ -277,7 +277,7 @@ TranzportControlProtocol::show_meter () /* print() requires this */ - buf[21] = '\0'; + buf[20] = '\0'; print (0, 0, buf); print (1, 0, buf); |