A few changes:
commit54bf125048f7ecaae90a180afad94566151ef91c
authornico <nico@9862a28c-4e93-4879-ac26-10afcf840a8f>
Sun, 15 Jul 2007 12:27:48 +0000 (15 12:27 +0000)
committernico <nico@9862a28c-4e93-4879-ac26-10afcf840a8f>
Sun, 15 Jul 2007 12:27:48 +0000 (15 12:27 +0000)
tree0359a0c242c2c2933c87c9ff6131d163091fc46d
parentcbcdc7976312bc3952b058443630fafef38b614c
A few changes:
* Slightly change how move_handle works to make it more practical to use.
* Change the sleep durations. This solves a problem I had where a long file would stop being buffered after less than a megabyte with error "bad file number". I think "playback" was simply too fast but this needs to be investigated.
* Turn backlight on when the plugin is finished
* The disabled code that I added is the basic beginning of having more then one file on the buffer at a time. It's not my priority right now.

There is a bug left on targets: the first two bytes (maybe not always two though) are missing on some of my test files. The others come out fine. After some tests, it seems that the buffering is ok (the first two bytes of the buffered data are correct), but at some point the bytes are lost when writing the file or reading the memory.

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