* Add data_rem() that returns the amount of data left to buffer. This prevents the...
commit31ee107fd2a9c59379211f5d755ff598a2077ec5
authornico <nico@9862a28c-4e93-4879-ac26-10afcf840a8f>
Sun, 8 Jul 2007 18:53:27 +0000 (8 18:53 +0000)
committernico <nico@9862a28c-4e93-4879-ac26-10afcf840a8f>
Sun, 8 Jul 2007 18:53:27 +0000 (8 18:53 +0000)
tree85024e0dd00b2d183c28454beac3e9f4f3465382
parent5aad2d9ac94e9cdf6284885af02c67a06ad5c3d8
* Add data_rem() that returns the amount of data left to buffer. This prevents the buffering thread to endlessly try to fill the buffer when nothing is available to fill it with.
* Add a remove_thread() call to end the playbck thread.
* Make the reading faster.

Now it works well on the sim: it buffers the files and reads them progressively, and the MD5sums are correct. I still have to test on target.
Currently it only has one file in the buffere at a time.

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