output: allow throwing any exception

This commit is contained in:
Max Kellermann
2019-07-03 22:10:26 +02:00
parent 510e6841a0
commit 412b04be58
12 changed files with 28 additions and 28 deletions

View File

@@ -175,7 +175,7 @@ public:
/**
* Caller must lock the mutex.
*
* Throws #std::runtime_error on error.
* Throws on error.
*/
void OpenEncoder(AudioFormat &audio_format);
@@ -252,7 +252,7 @@ public:
/**
* Mutext must not be locked.
*
* Throws #std::runtime_error on error.
* Throws on error.
*/
void EncodeAndPlay(const void *chunk, size_t size);