Jump to content
Xtreme .Net Talk

Recommended Posts

Posted (edited)
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.

Edited by akuehn3000

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...