Load Mp3 to streaming buffer

Burgos

Newcomer
Joined
Jun 30, 2005
Messages
1
Can somebody please tell me how to load mp3 into streaming buffer?

I have DirectX 9 SDK (using managed) and Lame decoder.
 
Burgos said:
Can somebody please tell me how to load mp3 into streaming buffer?

I have DirectX 9 SDK (using managed) and Lame decoder.

Unfortunately, loading mp3 files is not possible with the secondarybuffer class.
Therefore you have to use the AudioVideoPlayback classes whicht don´t provide a way to deal with streams:

Microsoft.DirectX.AudioVideoPlayback.Audio audio = new Audio("song.mp3",true);

You will have to look for third party solutions for this problem.
 
Last edited:
Back
Top