?
Solved

MCI -redirecting sound from one device to another

Posted on 1997-10-28
2
Medium Priority
?
278 Views
Last Modified: 2013-11-20
Can anyone tell me how to redirect the output of the microphone, from one device to another?

Details:
I can record a 'wav' file and then immediately play that down the phone, using mciSendCommand(..,MCI_RECORD,...) and MCI_PLAY. How ever this creates a time delay, I would like to send the output of the microphone directly to this device, has anyone any idea how to do this?

Thanks in advance
Yakky
0
Comment
Question by:yakky
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 2

Accepted Solution

by:
anichini earned 200 total points
ID: 1308953
Here's a suggestion: look at the DirectShow SDK (it's available on the Microsoft web site at http://www.microsoft.com/directx/pavilion/dshow/default.asp

It is an object-oriented streams architecture that superscedes MCI. What you'll need to do is write a DirectShow filter that sends packets of audio data to your phone device. This will probably be done at a lower level than using mciSendCommand. Then hook the output of the Audio Capture DirectShow filter into the input of your custom filter. This should forward the data on with minimal delay (~10-50 ms, perhaps).

0
 

Author Comment

by:yakky
ID: 1308954
Thanks for the suggestion. I had my suspisions that I would need to do some lower level programing. I was hoping there would be an easy way of doing it. Still I hadnt thought of using direct X.
Many Thanks
Yakky
0

Featured Post

Get MySQL database support online, now!

At Percona’s web store you can order your MySQL database support needs in minutes. No hassles, no fuss, just pick and click. Pay online with a credit card.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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 …
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
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.
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…

777 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