Solved

voice recording

Posted on 2004-10-01
6
204 Views
Last Modified: 2010-04-01
Hi!

How can I record voice from mic? C or C++, not MFC.

Thanks.
0
Comment
Question by:nany
  • 2
6 Comments
 
LVL 11

Expert Comment

by:KurtVon
ID: 12200583
Since you mention MFC, I assume this is windows.  Try the mciSendString function and use the record command http://msdn.microsoft.com/library/default.asp?url=/library/en-us/multimed/htm/_win32_mcisendstring.asp

Hope this helps.
0
 

Author Comment

by:nany
ID: 12200661
Please excuse me: for Win32.
0
 
LVL 11

Accepted Solution

by:
KurtVon earned 250 total points
ID: 12200875
Then mciSendString will work.  I use it in a number of projects.  Unfortunately it is still rather poorly documented by MS.  I'd suggest a google search once you find the appropriate command on MSDN.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Unlike C#, C++ doesn't have native support for sealing classes (so they cannot be sub-classed). At the cost of a virtual base class pointer it is possible to implement a pseudo sealing mechanism The trick is to virtually inherit from a base class…
Many modern programming languages support the concept of a property -- a class member that combines characteristics of both a data member and a method.  These are sometimes called "smart fields" because you can add logic that is applied automaticall…
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

772 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