Solved

MCI -redirecting sound from one device to another

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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Introduction: Dynamic window placements and drawing on a form, simple usage of windows registry as a storage place for information. Continuing from the first article about sudoku.  There we have designed the application and put a lot of user int…
Introduction: Dialogs (2) modeless dialog and a worker thread.  Handling data shared between threads.  Recursive functions. Continuing from the tenth article about sudoku.   Last article we worked with a modal dialog to help maintain informat…
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.
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…

695 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