Click here to Skip to main content
15,903,030 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Enum vs #define Pin
Anonymous3-Dec-02 10:42
Anonymous3-Dec-02 10:42 
GeneralRe: Enum vs #define Pin
Anonymous3-Dec-02 10:45
Anonymous3-Dec-02 10:45 
GeneralRe: Enum vs #define Pin
Jörgen Sigvardsson3-Dec-02 11:58
Jörgen Sigvardsson3-Dec-02 11:58 
GeneralRe: Enum vs #define Pin
Brad Bruce3-Dec-02 13:00
Brad Bruce3-Dec-02 13:00 
Generalthread pool Pin
gringo3-Dec-02 8:41
gringo3-Dec-02 8:41 
GeneralRe: thread pool Pin
valikac3-Dec-02 9:00
valikac3-Dec-02 9:00 
GeneralRe: thread pool Pin
Daniel Turini3-Dec-02 9:22
Daniel Turini3-Dec-02 9:22 
Generalcreating .wav files Pin
chrishall33-Dec-02 8:32
chrishall33-Dec-02 8:32 
Hi all,
what I'm trying to do, and failing obviously, is to create .wav files from .raw files (plain text files, just full of integers).
the problem is that I dont know how to create the header for the wav file properly. I'm going to be creating the same type of wav file all the time, ie 16khz, mono, 8-bit unsigned.
What I'm doing so far is using the fstream function but I'm not sure how to calculate all the required information from the .raw file.
The only change will be the size of the file, so I think that a fairly generic header would do the job, with the only thing having to change being the samples.

Can anyone help me here, I've looked around but still lost.

Thanks in advance all,
Confused | :confused: ChrisConfused | :confused:
GeneralRe: creating .wav files Pin
Selevercin3-Dec-02 11:44
Selevercin3-Dec-02 11:44 
GeneralInjected code weirdness....VC 7 Pin
-=jarl=-3-Dec-02 8:28
-=jarl=-3-Dec-02 8:28 
Generalcheck if two process exist and close the last opened and show the first Pin
youssef3-Dec-02 8:21
youssef3-Dec-02 8:21 
GeneralRe: check if two process exist and close the last opened and show the first Pin
Paul M Watt3-Dec-02 9:02
mentorPaul M Watt3-Dec-02 9:02 
GeneralRe: check if two process exist and close the last opened and show the first Pin
valikac3-Dec-02 9:04
valikac3-Dec-02 9:04 
Generalwierd problems w/ vC++ , help ?! :) Pin
joshfl3-Dec-02 7:25
joshfl3-Dec-02 7:25 
GeneralRe: wierd problems w/ vC++ , help ?! :) Pin
-=jarl=-3-Dec-02 8:36
-=jarl=-3-Dec-02 8:36 
GeneralRe: wierd problems w/ vC++ , help ?! :) Pin
Christian Graus3-Dec-02 10:47
protectorChristian Graus3-Dec-02 10:47 
GeneralRe: wierd problems w/ vC++ , help ?! :) Pin
joshfl4-Dec-02 8:02
joshfl4-Dec-02 8:02 
GeneralRe: wierd problems w/ vC++ , help ?! :) Pin
Christian Graus4-Dec-02 8:47
protectorChristian Graus4-Dec-02 8:47 
QuestionHow to change caption of Property Page Pin
Alois Kraus3-Dec-02 6:57
Alois Kraus3-Dec-02 6:57 
AnswerRe: How to change caption of Property Page Pin
Navin3-Dec-02 7:30
Navin3-Dec-02 7:30 
AnswerYay, I figured it out! Pin
Navin3-Dec-02 7:45
Navin3-Dec-02 7:45 
GeneralRe: Yay, I figured it out! Pin
Alois Kraus4-Dec-02 0:58
Alois Kraus4-Dec-02 0:58 
AnswerRe: How to change caption of Property Page Pin
Andrew Hafen3-Dec-02 7:51
Andrew Hafen3-Dec-02 7:51 
GeneralMFC Sockets - Urgent!!! Pin
Vladimir Georgiev3-Dec-02 6:51
Vladimir Georgiev3-Dec-02 6:51 
GeneralRe: MFC Sockets - Urgent!!! Pin
Shamoon3-Dec-02 7:00
Shamoon3-Dec-02 7:00 

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.