summaryrefslogtreecommitdiff
path: root/src/filter
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2019-08-26 21:01:22 +0200
committerMax Kellermann <max@musicpd.org>2019-08-26 21:01:22 +0200
commit4fabfdabde03e49b38c2867ce5502c3b64aab215 (patch)
tree69913c8672050d4629abf520c17664979949f59c /src/filter
parent2e9b5e4e78f565b9191a92d4af13448dd8de7379 (diff)
filter/Filter: allow throwing any exception
Diffstat (limited to 'src/filter')
-rw-r--r--src/filter/Filter.hxx2
-rw-r--r--src/filter/LoadChain.hxx2
-rw-r--r--src/filter/LoadOne.hxx2
-rw-r--r--src/filter/Prepared.hxx2
-rw-r--r--src/filter/plugins/ConvertFilterPlugin.hxx2
5 files changed, 5 insertions, 5 deletions
diff --git a/src/filter/Filter.hxx b/src/filter/Filter.hxx
index ca85a44c1..532308c71 100644
--- a/src/filter/Filter.hxx
+++ b/src/filter/Filter.hxx
@@ -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
diff --git a/src/filter/LoadChain.hxx b/src/filter/LoadChain.hxx
index 00d60d54f..dc9f2ce16 100644
--- a/src/filter/LoadChain.hxx
+++ b/src/filter/LoadChain.hxx
@@ -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
diff --git a/src/filter/LoadOne.hxx b/src/filter/LoadOne.hxx
index 4d2a678ef..0c5b3d73b 100644
--- a/src/filter/LoadOne.hxx
+++ b/src/filter/LoadOne.hxx
@@ -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
*/
diff --git a/src/filter/Prepared.hxx b/src/filter/Prepared.hxx
index 574ff5197..3355dc0ef 100644
--- a/src/filter/Prepared.hxx
+++ b/src/filter/Prepared.hxx
@@ -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
diff --git a/src/filter/plugins/ConvertFilterPlugin.hxx b/src/filter/plugins/ConvertFilterPlugin.hxx
index ae9c4cb71..179b84a81 100644
--- a/src/filter/plugins/ConvertFilterPlugin.hxx
+++ b/src/filter/plugins/ConvertFilterPlugin.hxx
@@ -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);