By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,482 Members | 1,002 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,482 IT Pros & Developers. It's quick & easy.

Record playback and line-in sounds

P: n/a
Hi,

How can I record line-in and playback music simutaniously. Basically I
want to merge two sounds. One comming from mic and the other is the
played music from PC. i can access line-in (mic) from multiple
API's.(Directsound, wavein) but I am unable find a way to record
currently playing sounds. Is there a way to access data from sound
card?
Any help in this regard will be of great help.

Thanks,

Saher

Nov 21 '05 #1
Share this Question
Share on Google+
5 Replies


P: n/a
Saher,

I am absolute a nitwit in sound. However did you have already the DirectX 9c
SDK.

I know at least that you can do enormous lot of things with sound with that
as long as it is WAV.

http://msdn.microsoft.com/library/de...ch_directx.asp

The VBNet sample in that is in my opinion unusable. However the DirectSounds
samples in C# are easy to translate. (You can remove those links to that C#
helperproject that in it than, that does nothing).

http://www.microsoft.com/downloads/d...displaylang=en

I hope this helps,

Cor

Nov 21 '05 #2

P: n/a
Thanks Cor,

Yes i do have DirectX 9c SDK, but i am unable find any function to get
data from currently playing buffer. Can somone point me to relitively
specific pointers.

Thanks and regards,

Saher

Nov 21 '05 #3

P: n/a
Saher,

Did you look at the sample in the SDK
AdjustSound?

Cor
Nov 21 '05 #4

P: n/a
"SaherAlim" <sa********@gmail.com> schrieb

Yes i do have DirectX 9c SDK, but i am unable find any function to
get data from currently playing buffer. Can somone point me to
relitively specific pointers.


Have you already had a look at

Managed docs
DirectX SDK
Introducing DirectX 9.0
DirectSound
Capturing Waveforms

?

You'll get best MDX specific information @
microsoft.public.win32.programme.directx.managed
Armin

Nov 21 '05 #5

P: n/a
Thanks all,

For reference one can do this by using directshow but only with C++

Regards,
Saher

Nov 21 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.