I’ve been making some progress with a few things on RPG Audio Mixer. I’m now capturing the duration of audio files and storing that information seperately from the aliases. This will allow me to store it seperately and prevent me from polluting the Adventure file with time information (which would force you to re-save the adventure to keep the time information). Next steps are:
- Using XStream to save the data
- Saving and loading that file as necessary - I should load it when RPGAM starts up, but when exactly should I save it? Every time a song is added?
- Refactoring some repetitive code for getting the duration of a file when adding them via various methods (menu item, drag and drop, context menus)
- Managing a separate thread for measuring any files with missing duration information while the app is running.
I also ended up seperating out the different pieces of my project as suggested by Eclipse Distilled. The Data, Audio Engine, Utility Classes and SWT GUI are all now seperate projects. Ideally, this should allow me to easily work on an RCP GUI version in the future without having to duplicate or alter non-GUI classes. I decided to abandon CVSDude for now and use a local install of CVSNT.
Lastly, I just wanted to quickly mention a new programming book I got that I’m enjoying: Practices of an Agile Developer.