summaryrefslogtreecommitdiff
path: root/lib/rbcodec/metadata/metadata.h
diff options
context:
space:
mode:
authorAidan MacDonald <amachronic@protonmail.com>2022-03-26 21:54:23 +0000
committerSolomon Peachy <pizza@shaftnet.org>2022-04-20 16:51:49 -0400
commit9e93796407ecb8a347f9799c0a03e80939004bd7 (patch)
treeaf70eab0998907aa34602c9345115a60a03f0b4a /lib/rbcodec/metadata/metadata.h
parent931d61607174ad1b09f9725ec9da214b63daed85 (diff)
downloadrockbox-9e93796407ecb8a347f9799c0a03e80939004bd7.tar.gz
rockbox-9e93796407ecb8a347f9799c0a03e80939004bd7.zip
buffering: remove bufgettail/bufcuttail
These operations can only be used in limited circumstances and have exactly one user. bufgettail especially seems of dubious value; how often do you need to read N bytes from the end of a file without changing the file position? strip_tags() was the only function using them, to strip off ID3v1 and APE tags off the end of buffered tracks. This would save only 32-192 bytes per track -- if the container format uses APE/ID3v1. It hardly seems worth the effort. Change-Id: I8fc3c1408517eda6126e75e76d76daea904b50eb
Diffstat (limited to 'lib/rbcodec/metadata/metadata.h')
-rw-r--r--lib/rbcodec/metadata/metadata.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/rbcodec/metadata/metadata.h b/lib/rbcodec/metadata/metadata.h
index 50fd5bac86..1a205a08eb 100644
--- a/lib/rbcodec/metadata/metadata.h
+++ b/lib/rbcodec/metadata/metadata.h
@@ -333,7 +333,6 @@ void wipe_mp3entry(struct mp3entry *id3);
333 333
334void fill_metadata_from_path(struct mp3entry *id3, const char *trackname); 334void fill_metadata_from_path(struct mp3entry *id3, const char *trackname);
335int get_audio_base_codec_type(int type); 335int get_audio_base_codec_type(int type);
336void strip_tags(int handle_id);
337bool rbcodec_format_is_atomic(int afmt); 336bool rbcodec_format_is_atomic(int afmt);
338bool format_buffers_with_offset(int afmt); 337bool format_buffers_with_offset(int afmt);
339 338