Filter/Internal: migrate from class Error to C++ exceptions

This commit is contained in:
Max Kellermann
2016-09-04 14:32:09 +02:00
parent 28c6975732
commit 13c32111a0
14 changed files with 142 additions and 191 deletions

View File

@@ -404,7 +404,10 @@ private:
*/
void CloseOutput(bool drain);
AudioFormat OpenFilter(AudioFormat &format, Error &error_r);
/**
* Throws std::runtime_error on error.
*/
AudioFormat OpenFilter(AudioFormat &format);
/**
* Mutex must not be locked.