简体   繁体   English

如何使用C#或Java创建音频CD

[英]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. 我正在寻找一种API,该API允许我从C#应用程序中创建音频CD。 The CDs are to be created and closed in the same session (no rewrite required). 将在同一会话中创建和关闭CD(无需重写)。 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. 基本上,我的应用程序代表用户查找文件,并且如果驱动器中有空白CD,则会为该用户创建音频CD。 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). 如果没有CD,它将检查是否连接了USB驱动器,并在其中复制文件(这部分我已经知道该怎么做)。

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. 我更喜欢用C#或Java编写此应用程序,因为我对它们最满意,但是我不知道使用这两种语言创建CD会有多困难。

There are several other questions here that deal with regular CDs, but I didn't see any discussing audio CDs. 这里还有其他一些与普通CD有关的问题,但是我没有看到任何讨论音频CD的问题。

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). 这是某人编写的代码示例,使用C#制作CD刻录机并与Windows Vista中引入的Image Master API互操作(可能会更新Windows XP计算机以包含IMAPI)。

Creating Audio CDs using IMAPI2 使用IMAPI2创建音频CD

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM