Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

mp3 Capture using DirectX

Status
Not open for further replies.

thebarslider

Programmer
Dec 21, 2001
80
GB
Does anyone know if it is possible to capture mp3 directly using DirectX? I am trying to record live sound from the sound card and save it in mp3 format. I can capture it in WAVE format using MCI, but is there an easier method to convert it directly to mp3 using DirectX?

(I am using C++ (MFC))

Any help would be much appreciated.

Mark Butler.
 
You will need an MP3 encoder for this, I recommend the BladeEnc encoder ( While I have never done anything like this before, I think you'll just have to read the samples out of the recording buffer and pass them into the encoder.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top