pennmem / Penn-TotalRecall

An easy-to-use tool for quickly annotating audio files.
http://memory.psych.upenn.edu/TotalRecall
Other
5 stars 8 forks source link

FMOD library should be self-stopping #11

Open ymasory opened 14 years ago

ymasory commented 14 years ago

Currently the native audio playback is stopped in Java. FMOD can self-stop using a callback. Previous attempt was unstable on Windows. If this is done the library can be spun off as a separate open-source product. The huge last frame workaround is known to be related to this problem. If the native thread stops itself in time there is no huge last frame reported. Also, FMOD should not be accessed from multiple threads. Currently the stopPlaback() call is on a different thread than the update() calls.