Skip to content

Commit

Permalink
Bump up sample limits to 300MB and 90 minutes (#3411)
Browse files Browse the repository at this point in the history
  • Loading branch information
zonkmachine authored Mar 7, 2017
1 parent f2fbf1e commit 7a58cc3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/SampleBuffer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ void SampleBuffer::update( bool _keep_settings )
m_frames = 0;

const QFileInfo fileInfo( file );
if( fileInfo.size() > 100*1024*1024 )
if( fileInfo.size() > 300*1024*1024 )
{
fileLoadError = true;
}
Expand All @@ -215,7 +215,7 @@ void SampleBuffer::update( bool _keep_settings )
{
f_cnt_t frames = sf_info.frames;
int rate = sf_info.samplerate;
if( frames / rate > 60 * 60 ) // 60 minutes
if( frames / rate > 90 * 60 ) // 90 minutes
{
fileLoadError = true;
}
Expand Down

0 comments on commit 7a58cc3

Please sign in to comment.