]> git.tuebingen.mpg.de Git - paraslash.git/commit
split play.c and rename para_play to para_write
authorAndre <maan@p133.(none)>
Tue, 18 Apr 2006 19:53:48 +0000 (21:53 +0200)
committerAndre <maan@p133.(none)>
Tue, 18 Apr 2006 19:53:48 +0000 (21:53 +0200)
commit780f86d5f849308b5100b087c6b223a6deef1dd7
tree5a190b830ee9e6ef01607c6bad5342cdef10127b
parent773bdfd137b4d4bb350903a1cb6b25ef304b3e0a
split play.c and rename para_play to para_write

This separates the code to write an audio stream into several
independent pieces:

write.h: definition of writer-related structures
write.c: the para_write main program
write_common.c: functions to be shared between para_write
and para_audiod
write_common.h: exported functions of write_common.c
alsa_writer.c: writes the stream to an alsa sound device
file_writer.c: writes the stream to a file

Other writers (aka output plugins) can be added easily.
12 files changed:
Makefile.in
alsa_writer.c [new file with mode: 0644]
configure.ac
error.h
file_writer.c [new file with mode: 0644]
play.c [deleted file]
play.ggo [deleted file]
write.c [new file with mode: 0644]
write.ggo [new file with mode: 0644]
write.h [new file with mode: 0644]
write_common.c [new file with mode: 0644]
write_common.h [new file with mode: 0644]