diff options
author | Carl Hetherington <carl@carlh.net> | 2010-05-11 00:43:28 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2010-05-11 00:43:28 +0000 |
commit | ac3265d7f49b9c7e0cc78438d92013f359a7c02e (patch) | |
tree | 75a07ac2a8b3946ec49250307a9a7cf87a52b164 /libs/ardour/sndfileimportable.cc | |
parent | 6f3de51ed3c7c8fc81bafe67b3522fd732d7d40f (diff) |
Evidence from Chris suggests that imported OGG files can clip, so check for that.
git-svn-id: svn://localhost/ardour2/branches/3.0@7095 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/sndfileimportable.cc')
-rw-r--r-- | libs/ardour/sndfileimportable.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/sndfileimportable.cc b/libs/ardour/sndfileimportable.cc index 758e8955c2..99697b888f 100644 --- a/libs/ardour/sndfileimportable.cc +++ b/libs/ardour/sndfileimportable.cc @@ -86,5 +86,5 @@ SndFileImportableSource::clamped_at_unity () const { int const sub = sf_info.format & SF_FORMAT_SUBMASK; /* XXX: this may not be the full list of formats that are unclamped */ - return (sub != SF_FORMAT_FLOAT && sub != SF_FORMAT_DOUBLE); + return (sub != SF_FORMAT_FLOAT && sub != SF_FORMAT_DOUBLE && sub != SF_FORMAT_OGG); } |