]> git.tuebingen.mpg.de Git - paraslash.git/commit
Keep the audio file open when mmapping.
authorAndre Noll <maan@systemlinux.org>
Sun, 29 Jun 2008 13:06:48 +0000 (15:06 +0200)
committerAndre Noll <maan@systemlinux.org>
Sun, 29 Jun 2008 13:06:48 +0000 (15:06 +0200)
commit8231c4db98e5278fde9678a5d16a68fbef777662
tree1174b06a54b96487919354b76fd2becd4798b58d
parentfaccd246cf9ee662cd8262d0db2a2375c1d4da86
Keep the audio file open when mmapping.

libid3tag needs an open fd. So call () with a
non-NULL pointer which results in the file still being open
after mmap_full_file() returns. Pass the file descriptor
to compute_afhi() and to get_file_info() so that libid3tag
can use it.
aac_afh.c
afh.c
afh.h
afh_common.c
aft.c
mp3_afh.c
ogg_afh.c