Commit 4fabfdab authored by Max Kellermann's avatar Max Kellermann

filter/Filter: allow throwing any exception

parent 2e9b5e4e
...@@ -54,7 +54,7 @@ public: ...@@ -54,7 +54,7 @@ public:
/** /**
* Filters a block of PCM data. * Filters a block of PCM data.
* *
* Throws std::runtime_error on error. * Throws on error.
* *
* @param src the input buffer * @param src the input buffer
* @return the destination buffer on success (will be * @return the destination buffer on success (will be
......
...@@ -28,7 +28,7 @@ class PreparedFilter; ...@@ -28,7 +28,7 @@ class PreparedFilter;
* "name1, name2, name3, ..." by looking up each name among the * "name1, name2, name3, ..." by looking up each name among the
* configured filter sections. * configured filter sections.
* *
* Throws std::runtime_error on error. * Throws on error.
* *
* @param chain the chain to append filters on * @param chain the chain to append filters on
* @param config the global configuration to load filter definitions from * @param config the global configuration to load filter definitions from
......
...@@ -29,7 +29,7 @@ class PreparedFilter; ...@@ -29,7 +29,7 @@ class PreparedFilter;
* Creates a new filter, loads configuration and the plugin name from * Creates a new filter, loads configuration and the plugin name from
* the specified configuration section. * the specified configuration section.
* *
* Throws std::runtime_error on error. * Throws on error.
* *
* @param block the configuration section * @param block the configuration section
*/ */
......
...@@ -32,7 +32,7 @@ public: ...@@ -32,7 +32,7 @@ public:
/** /**
* Opens the filter, preparing it for FilterPCM(). * 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 * @param af the audio format of incoming data; the
* plugin may modify the object to enforce another input * plugin may modify the object to enforce another input
......
...@@ -39,7 +39,7 @@ convert_filter_new(AudioFormat in_audio_format, ...@@ -39,7 +39,7 @@ convert_filter_new(AudioFormat in_audio_format,
* format switch is a violation of the filter API, this filter must be * format switch is a violation of the filter API, this filter must be
* the last in a chain. * the last in a chain.
* *
* Throws std::runtime_error on error. * Throws on error.
*/ */
void void
convert_filter_set(Filter *filter, AudioFormat out_audio_format); convert_filter_set(Filter *filter, AudioFormat out_audio_format);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment