mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-07 06:05:43 +01:00
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
This commit is contained in:
parent
6f3de51ed3
commit
ac3265d7f4
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue