Daniil D.
Daniil D.

Reputation: 1

Saving recorded audio as .wav via openAL

I am trying to record audio using C++ with openAL and save it as .wav file, so far i suceeded with first part, but can't find a way to save audio in a file. I read documentation and didn't find any way to do so. Am I missing something?

Upvotes: 0

Views: 466

Answers (1)

Hannes Hauptmann
Hannes Hauptmann

Reputation: 324

To save a *.wav file, you don't really need OpenAL. Look at the *.wav type-specifications, which are all over the web. You have just to create a header which describes your data and paste in your recorded data.

Upvotes: 1

Related Questions