Connecting Tech Pros Worldwide Help | Site Map

Soundcard

Stefan Mehnert
Guest
 
Posts: n/a
#1: Jan 3 '06
Since three days I search for a solution to grab the signal from default
sound-input-device (Line-IN of the soundcard) with C#.
Does anyone know how to do this in C#/C++/C?

Thanks!
Stefan


Nicholas Paldino [.NET/C# MVP]
Guest
 
Posts: n/a
#2: Jan 4 '06

re: Soundcard


Stefan,

I wouldn't try and do this directly. Rather, I would use an interop
wrapper for DirectX, which contains DirectSound. DirectSound has a set of
abstracted interfaces which support capturing input from various sources,
including the sound card.

That being said, I would search for that.

Hope this helps.


--
- Nicholas Paldino [.NET/C# MVP]
- mvp@spam.guard.caspershouse.com

"Stefan Mehnert" <stefan@mehnert-edv.de> wrote in message
news:dpese8$2f9k$1@ulysses.news.tiscali.de...[color=blue]
> Since three days I search for a solution to grab the signal from default
> sound-input-device (Line-IN of the soundcard) with C#.
> Does anyone know how to do this in C#/C++/C?
>
> Thanks!
> Stefan
>[/color]


MuZZy
Guest
 
Posts: n/a
#3: Jan 4 '06

re: Soundcard


Stefan Mehnert wrote:[color=blue]
> Since three days I search for a solution to grab the signal from default
> sound-input-device (Line-IN of the soundcard) with C#.
> Does anyone know how to do this in C#/C++/C?
>
> Thanks!
> Stefan
>[/color]

About a year ago i had a project to develop an app which would be
recording from up to 4 soundcards on one computer.
This article from CodeProject:
http://www.codeproject.com/cs/media/cswavrec.asp
.... helped me a lot - i took it's code for a base.

It's a good WinAPI alternative to DirectSound.

Hope it helped,
MuZZy
Brian
Guest
 
Posts: n/a
#4: Mar 18 '07

re: Soundcard


Hi,

Have you found any solution for the real time line-in signal?

I am in need of this graphical output.

Regards,

Brian
Closed Thread