Beginnings of threading.
commit6f6415a7fee0b683fe098493e18bde613ac96d0e
authornico <nico@9862a28c-4e93-4879-ac26-10afcf840a8f>
Sat, 7 Jul 2007 16:11:24 +0000 (7 16:11 +0000)
committernico <nico@9862a28c-4e93-4879-ac26-10afcf840a8f>
Sat, 7 Jul 2007 16:11:24 +0000 (7 16:11 +0000)
tree6e5ed9bff66c9d6ec1ed784704cdd478343a0feb
parenta607dc9a378f0c3c230e3c8fc4c4134ba76e0945
Beginnings of threading.
There is a playback thread and the plugin main function will emulate the buffering thread.
The buf*() API calls post messages to the buffering thread, that will treat them in sequence.
The code compiles with a lot of warnings and still needs a lot of work. It probably wouldn't work at all but I haven't tested it.

git-svn-id: svn://jdgordon.mine.nu/mob@38 9862a28c-4e93-4879-ac26-10afcf840a8f
testplugin.c