summaryrefslogtreecommitdiff
path: root/src/TagStream.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2020-07-06 20:45:29 +0200
committerMax Kellermann <max@musicpd.org>2020-07-06 20:56:52 +0200
commitc3cfb5fe166b8ce860d581a0ddd59a4915cb36db (patch)
treed50c374a57cf8682d27ded88fe9c62856aed2173 /src/TagStream.hxx
parent86823af6857e06914dcfeab0c76c68ba76126bce (diff)
parent749ad7cd83f4061fc8714202bcc51b3ec065139d (diff)
Merge branch 'v0.21.x'
Diffstat (limited to 'src/TagStream.hxx')
-rw-r--r--src/TagStream.hxx12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/TagStream.hxx b/src/TagStream.hxx
index f7c54e082..9a61719b4 100644
--- a/src/TagStream.hxx
+++ b/src/TagStream.hxx
@@ -29,14 +29,16 @@ class TagBuilder;
* Scan the tags of an #InputStream. Invokes matching decoder
* plugins, but does not invoke the special "APE" and "ID3" scanners.
*
+ * Throws on I/O error.
+ *
* @return true if the file was recognized (even if no metadata was
* found)
*/
bool
-tag_stream_scan(InputStream &is, TagHandler &handler) noexcept;
+tag_stream_scan(InputStream &is, TagHandler &handler);
/**
- * Throws on error.
+ * Throws on I/O error.
*/
bool
tag_stream_scan(const char *uri, TagHandler &handler);
@@ -46,15 +48,17 @@ tag_stream_scan(const char *uri, TagHandler &handler);
* plugins, and falls back to generic scanners (APE and ID3) if no
* tags were found (but the file was recognized).
*
+ * Throws on I/O error.
+ *
* @return true if the file was recognized (even if no metadata was
* found)
*/
bool
tag_stream_scan(InputStream &is, TagBuilder &builder,
- AudioFormat *audio_format=nullptr) noexcept;
+ AudioFormat *audio_format=nullptr);
/**
- * Throws on error.
+ * Throws on I/O error.
*/
bool
tag_stream_scan(const char *uri, TagBuilder &builder,