diff options
author | Aidan MacDonald <amachronic@protonmail.com> | 2022-03-26 21:54:23 +0000 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2022-04-20 16:51:49 -0400 |
commit | 9e93796407ecb8a347f9799c0a03e80939004bd7 (patch) | |
tree | af70eab0998907aa34602c9345115a60a03f0b4a /lib/rbcodec/metadata/metadata.h | |
parent | 931d61607174ad1b09f9725ec9da214b63daed85 (diff) | |
download | rockbox-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.h | 1 |
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 | ||
334 | void fill_metadata_from_path(struct mp3entry *id3, const char *trackname); | 334 | void fill_metadata_from_path(struct mp3entry *id3, const char *trackname); |
335 | int get_audio_base_codec_type(int type); | 335 | int get_audio_base_codec_type(int type); |
336 | void strip_tags(int handle_id); | ||
337 | bool rbcodec_format_is_atomic(int afmt); | 336 | bool rbcodec_format_is_atomic(int afmt); |
338 | bool format_buffers_with_offset(int afmt); | 337 | bool format_buffers_with_offset(int afmt); |
339 | 338 | ||