Record playback and line-in sounds

  • Thread starter Thread starter SaherAlim
  • Start date Start date
S

SaherAlim

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
 
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/default.asp?url=/library/en-us/dnanchor/html/anch_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/...29-D7C9-4CF7-A8D5-8AB81F14AE1B&displaylang=en

I hope this helps,

Cor
 
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
 
Saher,

Did you look at the sample in the SDK
AdjustSound?

Cor
 
SaherAlim said:
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
 
Thanks all,

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

Regards,
Saher
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top