Click here to Skip to main content
15,904,023 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionNeed to verify my RIFF file header construction - sample code wanted Pin
Vaclav_11-Jul-11 8:02
Vaclav_11-Jul-11 8:02 
I am using mmioxxxx library / API to build and save wave in RIFF file.
I can record the audio wave, save it in file and play it Windows Media Player.

However, I cannot load the file and verify the RIFF format in my code properly.
The “data” chunk is not aligned – I get two characters and then “da”.

Consequently I cannot use waveOutOpen and play the file myself.

All audio recording code presented here either does not save and load the RIFF file to play it or skips some header information.

I would like a sample code using either CFile or mmioxxxx file to compare with my code so I can find this “bug”.

I do not need anything else, I think I got the wave API covered.

Any constructive help will be as always appreciated.

PS I feel this is a long shot so I did not post my code. I do that if requested.

Cheers
Vaclav
AnswerRe: Need to verify my RIFF file header construction - sample code wanted Pin
Vaclav_11-Jul-11 8:42
Vaclav_11-Jul-11 8:42 
AnswerRe: Need to verify my RIFF file header construction - sample code wanted Pin
enhzflep11-Jul-11 16:09
enhzflep11-Jul-11 16:09 
GeneralRe: Need to verify my RIFF file header construction - sample code wanted Pin
Vaclav_11-Jul-11 17:28
Vaclav_11-Jul-11 17:28 
AnswerPARTIALLY SOLVED Need to verify my RIFF file header construction - sample code wanted Pin
Vaclav_12-Jul-11 16:23
Vaclav_12-Jul-11 16:23 
QuestionObtaining a list of what exceptions code can throw Pin
bob1697211-Jul-11 4:26
bob1697211-Jul-11 4:26 
AnswerRe: Obtaining a list of what exceptions code can throw Pin
Albert Holguin11-Jul-11 5:44
professionalAlbert Holguin11-Jul-11 5:44 
GeneralRe: Obtaining a list of what exceptions code can throw Pin
bob1697211-Jul-11 6:39
bob1697211-Jul-11 6:39 
GeneralRe: Obtaining a list of what exceptions code can throw Pin
Albert Holguin11-Jul-11 7:46
professionalAlbert Holguin11-Jul-11 7:46 
GeneralRe: Obtaining a list of what exceptions code can throw Pin
MicroVirus12-Jul-11 6:02
MicroVirus12-Jul-11 6:02 
QuestionHow to send TVN_BEGINLABELEDIT from a custom tree control Pin
Amrit Agr10-Jul-11 21:50
Amrit Agr10-Jul-11 21:50 
AnswerRe: How to send TVN_BEGINLABELEDIT from a custom tree control Pin
Richard MacCutchan10-Jul-11 22:13
mveRichard MacCutchan10-Jul-11 22:13 
AnswerRe: How to send TVN_BEGINLABELEDIT from a custom tree control Pin
User 742933810-Jul-11 22:21
professionalUser 742933810-Jul-11 22:21 
GeneralRe: How to send TVN_BEGINLABELEDIT from a custom tree control Pin
Amrit Agr10-Jul-11 22:59
Amrit Agr10-Jul-11 22:59 
QuestionHow can use Proxy Settings in VC++? Pin
Le@rner10-Jul-11 19:29
Le@rner10-Jul-11 19:29 
AnswerRe: How can use Proxy Settings in VC++? Pin
Cool_Dev10-Jul-11 20:50
Cool_Dev10-Jul-11 20:50 
GeneralRe: How can use Proxy Settings in VC++? Pin
Le@rner11-Jul-11 0:12
Le@rner11-Jul-11 0:12 
QuestionHow to send events to extended child control? Pin
rahul.kulshreshtha8-Jul-11 20:21
rahul.kulshreshtha8-Jul-11 20:21 
AnswerRe: How to send events to extended child control? Pin
Richard MacCutchan9-Jul-11 2:05
mveRichard MacCutchan9-Jul-11 2:05 
GeneralRe: How to send events to extended child control? Pin
rahul.kulshreshtha9-Jul-11 8:24
rahul.kulshreshtha9-Jul-11 8:24 
QuestionPicturControl Pin
manju 38-Jul-11 19:51
manju 38-Jul-11 19:51 
AnswerRe: PicturControl - REPOST Pin
Richard MacCutchan8-Jul-11 23:30
mveRichard MacCutchan8-Jul-11 23:30 
QuestionCImageList Pin
manju 38-Jul-11 18:49
manju 38-Jul-11 18:49 
AnswerRe: CImageList Pin
Richard MacCutchan8-Jul-11 23:29
mveRichard MacCutchan8-Jul-11 23:29 
QuestionMultimap? Pin
john56328-Jul-11 0:45
john56328-Jul-11 0:45 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.