How to create an Audio CD using C# or Java
I'm looking for an API that would allow me to create an audio CD from within a C# application. The CDs are to be created and clos开发者_JAVA百科ed in the same session (no rewrite required). Basically, my application locates files on behalf of a user, and, if a blank CD is present in the drive, creates an audio CD for the user. If no CD is present, it checks to see if there's a USB drive attached and copies the files there (this part I already know how to do).
I would prefer to write this application in either C# or Java, as I'm most comfortable with those, but I don't know how hard it would be to create CDs using either language.
There are several other questions here that deal with regular CDs, but I didn't see any discussing audio CDs.
Here is a code sample someone wrote to make a CD Burner using C# and com interop to the Image Master API introduced in Windows Vista (with possible update to Windows XP machines to include the IMAPI).
Creating Audio CDs using IMAPI2
精彩评论