filter/Filter: allow throwing any exception
This commit is contained in:
parent
2e9b5e4e78
commit
4fabfdabde
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
*/
|
||||
|
@ -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
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user