diff options
author | David Robillard <d@drobilla.net> | 2008-10-03 18:24:38 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2008-10-03 18:24:38 +0000 |
commit | ad4919ce920a1a588c9ecd3d822dacfb93d74bb7 (patch) | |
tree | f9636723272d7b06635aa2f1323a4ba3a614fb2c /libs/ardour | |
parent | 21c4721a68d42b05beb3a2e8d68d99a5cdd3ef41 (diff) |
Assortment of minor changes from 2.0-ongoing.
git-svn-id: svn://localhost/ardour2/branches/3.0@3852 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour')
-rw-r--r-- | libs/ardour/crossfade.cc | 2 | ||||
-rw-r--r-- | libs/ardour/resampled_source.cc | 2 |
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: |