Audio Playback!
The good news - this morning, after fixing a few crashes, one threading deadlock and one infinite loop, Cantabile played back it's first wav and first mp3 file!
The bad news - to say it's rough around the edges would be an understatement:
- The read-ahead buffers are being filled by the wrong thread. (a hack to test the what I've got basically works).
- The read-ahead buffers aren't cleared out on stop, causing weirdness when starting play again.
- It doesn't work when routed to rack (as opposed to output).
- The integration with the transport controls/metronome is crap - not sure how I'm going to handle that.
- There's a memory corruption in there somewhere during playback (just on mp3s I think)
- There's a memory corruption when the audio engine is stopped after playing an audio file.
- Playback burns about 50% of one CPU core (but that's cause I've got heaps of diagnostic stuff in there, including memory heap checks)
- There's still no UI to show play position, waveform data etc...
One big step forward, six small steps backwards. I better get those memory corruptions sorted first...
Posted on May 7, 2008
Share This