473,406 Members | 2,387 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Recording from microphone

What is the best way to record from a microphone or line in in a unmanaged
C++ program?

I found a C# sample using DirectSound but we prefer an unmanaged C++ version
with no need of .NET.

Many thanks
Olaf
Nov 30 '05 #1
2 2152
"Olaf Baeyens" <ol**********@skyscan.be> wrote in message
news:43***********************@news.skynet.be...
What is the best way to record from a microphone or line in in a unmanaged
C++ program?


You ought to post again in the multimedia group:

microsoft.public.win32.programmer.mmedia

On your way over you can take a look at the ancient waveform audio API -
waveInOpen(), waveInPrepareHeader(), waveInAddBuffer() etc. That technique
has worked for as long a time as there has been audio support in Windows.

Regards,
Will
Dec 2 '05 #2
> > What is the best way to record from a microphone or line in in a
unmanaged
C++ program?
You ought to post again in the multimedia group:

microsoft.public.win32.programmer.mmedia

That is a good idea
On your way over you can take a look at the ancient waveform audio API -
waveInOpen(), waveInPrepareHeader(), waveInAddBuffer() etc. That technique
has worked for as long a time as there has been audio support in Windows.

Currently that is what we are trying now.
But I am wondering if the .NET 2.0 has any direct support for recording
sound?

Thanks for the repy :-)
Dec 6 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Sugapablo | last post by:
I had an idea for something that I can't find any evidence if it exists, or if it can be done. I assume it can be done. What I'd like to be able to do, is to allow people who come to my website,...
6
by: Dovelet | last post by:
Hi all, I would like to write DOS program to change the MS Windows Sound Recording source. When I run it with the parameter, it will change the recording source as follow: C:\> abc.exe...
0
by: Bean | last post by:
Hello everyone, I have a question concerning recording the sound of softphone conversation using c# and Directsound(DirectX 9.0). I've tried a similar reference code from...
4
by: Michael | last post by:
Hello, I want to create a program that records a sound track from the microphone, and save it into a file. Can anybody tell me please how do I get the audio from the microphone? thanks for your...
1
by: sirusdv | last post by:
Has anyone been able to record microphone data via C# in any way? I know there is a way with winmm.dll but I have not been able to manage the whole process yet. Any code would be GREATLY...
1
kZero
by: kZero | last post by:
iam working on voice chat software and i have problem i hope any one can help me i wanna know how to change the voice recording input ( Microphone , Wave , Stereo mix and line in ) can any one...
0
by: roopaloswal | last post by:
Hi All, I need to record audio captured from microphone to the local file system .Is it possible? I am trying to use NetConnect() to connect to local file system. But its throwing error. I...
1
by: praveenkumarvpk | last post by:
Hi Expert...! I have a problem with recording a voice and storing to server. If we have a chance to make this possible please help me... My Requirement is to record a voice from...
10
by: harika12 | last post by:
how to record our voice in asp.net 2.0 using c#. I want to record using microphone. please any body help me. with regards, harika.
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.