filter/Filter: allow throwing any exception

This commit is contained in:
Max Kellermann 2019-08-26 21:01:22 +02:00
parent 2e9b5e4e78
commit 4fabfdabde
5 changed files with 5 additions and 5 deletions

View File

@ -54,7 +54,7 @@ public:
/**
* Filters a block of PCM data.
*
* Throws std::runtime_error on error.
* Throws on error.
*
* @param src the input buffer
* @return the destination buffer on success (will be

View File

@ -28,7 +28,7 @@ class PreparedFilter;
* "name1, name2, name3, ..." by looking up each name among the
* configured filter sections.
*
* Throws std::runtime_error on error.
* Throws on error.
*
* @param chain the chain to append filters on
* @param config the global configuration to load filter definitions from

View File

@ -29,7 +29,7 @@ class PreparedFilter;
* Creates a new filter, loads configuration and the plugin name from
* the specified configuration section.
*
* Throws std::runtime_error on error.
* Throws on error.
*
* @param block the configuration section
*/

View File

@ -32,7 +32,7 @@ public:
/**
* Opens the filter, preparing it for FilterPCM().
*
* Throws std::runtime_error on error.
* Throws on error.
*
* @param af the audio format of incoming data; the
* plugin may modify the object to enforce another input

View File

@ -39,7 +39,7 @@ convert_filter_new(AudioFormat in_audio_format,
* format switch is a violation of the filter API, this filter must be
* the last in a chain.
*
* Throws std::runtime_error on error.
* Throws on error.
*/
void
convert_filter_set(Filter *filter, AudioFormat out_audio_format);