Cantabile Development Blog

Follow the development of music software Cantabile

Articles | Full Index | RSS Feed


Ribbon Controls

Hmm. This is looking a bit sad at the moment, but half the code's there to do the required layout work for the ribbon groups and their content.

Obviously the buttons aren't rendering properly (text should be centered near the bottom and there are no icons) and they're not sized properly - but it's getting there.

images/RibbonControls.png

Also today, I did some performance testing to see whether my previous thoughts on using a thread pool to leverage multi-processor machines for audio channel mixing were valid. Seems not.

It appears that in order for it to be worth allocating tasks off to worker threads, the work items need to be quite large (like rendering a whole rack). For small work items (like mixing a single channel audio buffer), the overhead of communicating with the worker thread is significantly greater than the actual work to be done.

Back to the drawing board on this one.

Posted on April 24, 2007

Share This

Leave A Comment

All comments will be reviewed for spam before being displayed.