We help IT Professionals succeed at work.

Emulate Microphone

koreviper
koreviper asked
on
Medium Priority
598 Views
Last Modified: 2013-11-20
Hey experts,

This is my first time looking into Audio programming.. What i want to do is play music and make the computer think it's coming through the microphone, I want to do this so i can play music from a server over my teamspeak program..

what i was thinking was opening the device and writing the data to it..

but how would i do this or any better suggestions?
Comment
Watch Question

Commented:
Take a look at the "waveInOpen" and "waveOutOpen" functions...

You could open both channels and then read from one and write to the other...

Here are the MSDN pages:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/multimed/htm/_win32_waveinopen.asp
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/multimed/htm/_win32_waveoutopen.asp

Regards,
NeoEGM

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts

Author

Commented:
Thanks mate i'll look into it today :D

Commented:
Koreviper told me he'd try what I told him but he didn't answer...

I'm still waiting for his response *-)

Regards,
NeoEGM
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.