Solved

MCI -redirecting sound from one device to another

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
ADO Memory leak with DELPHI 2007 37 171
sameEnds challenge 3 135
Window placement 17 75
how to use laptop or pad camera in vb.net windows application 2 55
If you use Adobe Reader X it is possible you can't open OLE PDF documents in the standard. The reason is the 'save box mode' in adobe reader X. Many people think the protected Mode of adobe reader x is only to stop the write access. But this fe…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
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.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…

896 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

13 Experts available now in Live!

Get 1:1 Help Now