diff options
Diffstat (limited to '')
-rw-r--r-- | src/IcyMetaDataParser.hxx | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/IcyMetaDataParser.hxx b/src/IcyMetaDataParser.hxx index 6bcb09668..3075485b2 100644 --- a/src/IcyMetaDataParser.hxx +++ b/src/IcyMetaDataParser.hxx @@ -1,5 +1,5 @@ /* - * Copyright (C) 2003-2013 The Music Player Daemon Project + * Copyright (C) 2003-2014 The Music Player Daemon Project * http://www.musicpd.org * * This program is free software; you can redistribute it and/or modify @@ -75,6 +75,13 @@ public: */ size_t Meta(const void *data, size_t length); + /** + * Parse data and eliminate metadata. + * + * @return the number of data bytes remaining in the buffer + */ + size_t ParseInPlace(void *data, size_t length); + Tag *ReadTag() { Tag *result = tag; tag = nullptr; |