Skip to content

Commit

Permalink
LibSNDWrapper: dont fail for multichannel files
Browse files Browse the repository at this point in the history
  • Loading branch information
derselbst committed May 11, 2017
1 parent 2e2f776 commit 48bed35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/InputLibraryWrapper/LibSNDWrapper.cpp
Expand Up @@ -47,7 +47,7 @@ void LibSNDWrapper::open ()
THROW_RUNTIME_ERROR(sf_strerror (nullptr) << " (in File \"" << this->Filename << ")\"");
};

if (sfinfo.channels < 1 || sfinfo.channels > 6)
if (sfinfo.channels < 1)
{
THROW_RUNTIME_ERROR("channels == " << sfinfo.channels);
};
Expand Down

0 comments on commit 48bed35

Please sign in to comment.