Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Hi everybody, I�m new to this forum, DirectX and .Net as well and I�m hoping to find some help.

 

I have a little program written in VB.Net that works, except for the sound. The Win API �PlaySound� is not doing the job. I need to play 2 to 3 short wave files consecutively. I decided to try my hand at DX and I downloaded the DirectX 9 SDK for Visual Basic .Net. Unfortunately the only help file that came with it is for C++. I checked out http://www.directx4vb.com and took a look at their only DX 9 tutorial. As it turns out, it�s only covers graphics, not audio. I wonder how much different DX 9 with VB.Net would look compared to DX 8 with VB 6.

 

Does anyone have any suggestions or maybe an example that could help?

 

Much appreciated.

  • *Experts*
Posted (edited)
I suggest looking into AudioVideoPlayback namespace from DirectX, it contains a class named Audio for playing sound. It plays all kinds of sound files. Easy to use :). Of course other DX sound apis are better but this is simple and fast to use. :) Edited by mutant

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...