Click here to Skip to main content
15,887,821 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Can anybody help me? Actually, I was using the SlimDX library, but I think it is very similar with the DirectX / DirectSound library. I have already tried to write down the code like below :
C#
using SlimDX;
using SlimDX.DirectSound;

DirectSound Mic = new DirectSound(DirectSoundGuid.DefaultCaptureDevice);
Mic.SetCooperativeLevel(this.Handle, CooperativeLevel.Priority);


and when I debug the code, it is said that cant find any sound driver?
what is the problem?
big thanks for the reply
Posted

1 solution

You're probably better to look for help here:
http://www.gamedev.net/forum/10-directx-and-xna/[^]

This appears to be where the developers of SlimDX frequent and they are most likely well versed in helping you debug this.

That said, do you have a default capture device set? Can you use windows sound recorder to capture through your mic?

Cheers.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900