Click here to Skip to main content
11,438,226 members (75,699 online)
Rate this: bad
Please Sign up or sign in to vote.
See more: MFC VC++
I am having a Dialog based application with
one edit box to get the filepath of a wav file that is to be played.
the file path i can get through one button called browse.when i click on browse a dialog will be opened with th wav files that are present on my select it and when click on play it start playing the wav file.
upto here i did good.
the real problem is what
i am having 2 more buttons for record and record stop.
when i click on record button the file that is palying(when i click on play boutton)
that should start recording to a slice time and it should be save in my computer when i click on stop button.
playing should be done still the application gets closed.
can any one help me with an example for my problem
Posted 6-Sep-12 20:37pm

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

You can use multimedia SDK functions such that waveOutOpen, waveInOpen, waveInPrepareHeader, waveInAddBuffer, waveInStart...
Waveform audio MSDN[^]

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Advertise | Privacy | Mobile
Web01 | 2.8.150506.1 | Last Updated 20 Sep 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100