]> git.tuebingen.mpg.de Git - paraslash.git/commit
Switch to the new afs.
authorAndre Noll <maan@systemlinux.org>
Mon, 22 Oct 2007 20:23:31 +0000 (22:23 +0200)
committerAndre Noll <maan@systemlinux.org>
Mon, 22 Oct 2007 20:23:31 +0000 (22:23 +0200)
commit61250cf03241bf73662dac3753e44660a572fa2a
treea720ad4266cb1df8ec94d5d439b35e0ce0b0c105
parent97f53e18953fc2013c0b14f0261ac385e45b0284
Switch to the new afs.

This obsoletes get_audio_file() of vss.c. It is being replaced
by a call to the afs layer from vss_post_select() which requests
a struct audio_format_data for the next audio file.

The afd struct, the chunk table and the path of the new audio file are
stored in a shared memory area. The id of that area is sent through
the afs-server socket. An open fd for the underlying audio file is
send to the server process as well using usual socket magic.

The vss task of the server process attaches the shared memory area
and mmaps the open fd to start audio streaming.

The code is still quite buggy, but let's do bug fixes and removal of
the old audio file selectors in susequent patches.
29 files changed:
aac_afh.c
afs.c
afs.cmd
afs.h
afs_common.c
aft.c
command.c
dccp_send.c
error.h
fd.c
fd.h
http_send.c
mp3_afh.c
mysql_selector.c
mysql_selector.cmd
ogg_afh.c
ortp_send.c
osl.h
playlist_selector.c
playlist_selector.cmd
random_selector.c
random_selector.cmd
send.h
server.c
server.cmd
server.h
string.c
vss.c
vss.h