如何使用 C# 或 Java 创建音频 CD
我正在寻找一个 API,它允许我从 C# 应用程序中创建音频 CD。 CD 将在同一会话中创建和关闭(无需重写)。基本上,我的应用程序代表用户查找文件,并且如果驱动器中存在空白 CD,则为用户创建音频 CD。如果没有 CD,它会检查是否连接了 USB 驱动器并将文件复制到那里(这部分我已经知道该怎么做)。
我更喜欢用 C# 或 Java 编写这个应用程序,因为我对这些语言最熟悉,但我不知道使用这两种语言创建 CD 有多困难。
这里还有其他几个涉及普通 CD 的问题,但我没有看到任何讨论音频 CD 的问题。
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 closed 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.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
下面是某人编写的代码示例,用于使用 C# 和与 Windows Vista 中引入的 Image Master API 的 com 互操作来制作 CD 刻录机(可能会更新到 Windows XP 计算机以包含 IMAPI)。
使用 IMAPI2 创建音频 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).
Creating Audio CDs using IMAPI2