Search code examples
c++windowscd

How to read CD audio data in Windows?


What is the Microsoft-approved way to extract the raw audio data from an audio CD? I'm hoping to do this with C++ or C.

It's ironic because in XP/Vista/7, there is the IMAPI (Image Mastering API) for writing data, but not for reading it.

Is there a set of API functions for this? Or do I need to send SCSI commands?


Solution

  • Here are a couple of code samples...

    http://www.codeproject.com/KB/audio-video/SimpleAudioCD.aspx

    http://www.codeproject.com/KB/cs/csharpripper.aspx