]> git.tuebingen.mpg.de Git - paraslash.git/commit
Major audio format handler cleanups.
authorAndre Noll <maan@systemlinux.org>
Fri, 26 Jun 2009 18:54:55 +0000 (20:54 +0200)
committerAndre Noll <maan@systemlinux.org>
Fri, 26 Jun 2009 18:54:55 +0000 (20:54 +0200)
commit343a65bc48b4e0cda4d9a14afcd7e96cca9c5de9
tree9a6250b2465a63f307e1496ac362d47700070283
parente9cb243a24785f2142e19a9ba0dc75232eb39baf
Major audio format handler cleanups.

The main change is the replacement of afhi->taginfo by more specific
fields: This patch adds struct taginfo to the audio format handler
info struct.

The prefix is no longer stored inside the osl database, i.e. it is
no longer duplicated for each audio file.

The tag information is only stored in memory as a dynamically allocated
string if it is new, i.e. if the struct was generated by the audio format
handler. If it was retrieved from the database, pointers to the memory
mapped table are used instead.

The crappy fixup_info_string() function is gone. It was too ugly to live.
Of course, this re-introduces the bug it fixed, but as we broke the
on disk format with this patch anyway, we might as well fix it right(TM).
This will be done in a subsequent patch.

afhi->eof_tv is gone as well. It was not useful at all.
12 files changed:
aac_afh.c
afh.c
afh.h
afh_common.c
aft.c
configure.ac
gui_theme.c
mood.c
mp3_afh.c
ogg_afh.c
server.c
vss.c