Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump up sample limits to 300MB and 90 minutes #3411

Merged
merged 1 commit into from
Mar 7, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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