All the info I can find about burning cd's is for Windows, or about full programs to burn cd's. I would however like to be able to burn an Audio CD directly from within my program.
I don't mind using Cocoa or Carbon, or if there are no API's available to do this directly, using a command-line program that can use a wav/aiff file as input would be a possibility too if it can be distributed with my application.
Because it will be used to burn dj mixes to cd, it would also be great if it is possible to create different tracks without a gap between them.
drutil burn -audio /path/to/folder