Hello
I am a beginner in Csharp, I'd like to know how to handle multiple sound cards (both input and output), more clearly how can I select a sound card among those I have using Csharp,I need your help please
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
FroglegPosted Mar 8, 2011, 12:31 PM
http://www.c-sharpcorner.com/UploadFile/GemingLeader/696/
nicole castelPosted Mar 8, 2011, 3:31 AM
i want to do the both,if you want i can send you the subject of my project to get a clear idea
Sam HobbsPosted Mar 7, 2011, 5:34 PM
nicole castelPosted Mar 7, 2011, 3:27 PM
nicole castelPosted Mar 7, 2011, 3:27 PM
Suthish NairPosted Mar 7, 2011, 2:19 PM
nicole castelPosted Mar 5, 2011, 8:57 AM
FroglegPosted Mar 5, 2011, 8:32 AM
using System.Media;
SoundPlayer simpleSound = new SoundPlayer(your sound file);
simpleSound.Play();
nicole castelPosted Mar 5, 2011, 8:02 AM
FroglegPosted Mar 5, 2011, 7:35 AM
http://msdn.microsoft.com/en-us/library/bb324497(v=vs.85).aspx
nicole castelPosted Mar 5, 2011, 7:26 AM
but i have a problem with DirektX,it gives allways an error
FroglegPosted Mar 5, 2011, 6:56 AM
http://blogs.microsoft.co.il/blogs/tamir/archive/2008/12/25/capturing-and-streaming-sound-by-using-directsound-with-c.aspx
nicole castelPosted Mar 5, 2011, 6:29 AM
Sam HobbsPosted Mar 5, 2011, 1:29 AM
In both Windows and Unix/Linux and in most modern operating systems, there must be a device driver (that is what they are called in both Windows and Unix/Linux) that acceses devices. I am sure you are not developing a device driver.
Back in the days of DOS and 16-bit Windows Game developers would access hardware directly since they needed the best performance possible. So for 32-bit Windows Microsoft had to do something. They purchased software that the renamed DirectX. So you need to look at DirectX and whatever else might exist to replace DirectX. I am not sure whether there is something available for managed code that replaces DirectX but I know that DirectX has a few limitations that Microsoft needs to do something to replace DirectX. I think that for sound you need to look for DirectSound. Look for articles in this web site that show how to use sound in C#. Note that at least one article shows how to use the computer's speaker to make a simple piano; you don't want to use the computer's speaker.
nicole castelPosted Mar 4, 2011, 12:29 PM
nicole castelPosted Mar 4, 2011, 12:21 PM
PS: i Konow That i have a bad English so please excuse me
VulpesPosted Mar 4, 2011, 11:24 AM
nicole castelPosted Mar 4, 2011, 7:50 AM
yes I must prepare a software as a final study project and the manager told me to use Csharp because it's a widely used in computer science so I have to learn how to use this language quickly :)
i'm using Windows 7
VulpesPosted Mar 4, 2011, 7:09 AM