By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,146 Members | 1,584 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,146 IT Pros & Developers. It's quick & easy.

Problem writing a .wav file

P: n/a
Hi,
Can anyone provide me some useful C++ code for creating/writing a .wav
file. I looked at some sites on the net and did something myself but
every time there is a "Damaged File or unsupported format error".
I need to create a wav file (PCM 16-bit mono with 44.1 K sampling rate).
Please let me know whether there are any sites which provide COMPLETE
code to write a .wav file. I can fill in with the necessary changes in
the data portion.

Thanks,
Atri

Jul 22 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
"Atri Mandal" <ma*****@ics.uci.edu> wrote...
Can anyone provide me some useful C++ code for creating/writing a .wav
file.[...]


This has nothing to do with C++ language. C++ has only generic means
for writing files and you probably are already using all of them. If
you need specifics on WAV file format, C++ language cannot help you.
Ask in a newsgroup where it's on topic, like comp.games.development.audio

Victor
Jul 22 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.