Solved

MCI -redirecting sound from one device to another

Posted on 1997-10-28
2
271 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 100 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
ODBC Connection Logging, ADO.NET 6 71
withoutTen challenge 14 137
Problem to event 3 114
Not needed 13 130
Introduction: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa…
Introduction: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
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.

730 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