Emulate Microphone

Posted on 2006-04-02
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?
Question by:koreviper
    LVL 3

    Accepted Solution

    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:


    Author Comment

    Thanks mate i'll look into it today :D
    LVL 3

    Expert Comment

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

    I'm still waiting for his response *-)


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Training Course: Java/J2EE and SOA

    This course will cover both core and advanced Java concepts like Database connectivity, Threads, Exception Handling, Collections, JSP, Servlets, XMLHandling, and more. You'll also learn various Java frameworks like Hibernate and Spring.

    Suggested Solutions

    In this article, I'll describe -- and show pictures of -- some of the significant additions that have been made available to programmers in the MFC Feature Pack for Visual C++ 2008.  These same feature are in the MFC libraries that come with Visual …
    Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
    This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
    Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now