mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
auditioning [external] files does not need peaks.
fix inspired by #6227
This commit is contained in:
parent
192e1c6156
commit
4d6ac2a835
1 changed files with 1 additions and 1 deletions
|
|
@ -446,7 +446,7 @@ SoundFileBox::audition ()
|
|||
afs = boost::dynamic_pointer_cast<AudioFileSource> (
|
||||
SourceFactory::createExternal (DataType::AUDIO, *_session,
|
||||
path, n,
|
||||
Source::Flag (0), false));
|
||||
Source::Flag (ARDOUR::AudioFileSource::NoPeakFile), false));
|
||||
if (afs->sample_rate() != _session->nominal_frame_rate()) {
|
||||
boost::shared_ptr<SrcFileSource> sfs (new SrcFileSource(*_session, afs, _src_quality));
|
||||
srclist.push_back(sfs);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue