I have a question regarding fstreaming and audio

Started by
1 comment, last by Aluthreney 12 years, 2 months ago
Is it possible to save an audio file to an ifstream pointer?

Aluthreney -- the King of sheep.

Advertisement
If you mean "Can I write audio data out to a file using fstream?" The answer is "it depends on your audio library, but if it gives you access to the raw data, certainly!"

In time the project grows, the ignorance of its devs it shows, with many a convoluted function, it plunges into deep compunction, the price of failure is high, Washu's mirth is nigh.

Well I'm using the SDL libraries. My idea is to call the files from their folder using c++'s fstream and let SDL_mixer do the rest. Is this a valid idea?

Aluthreney -- the King of sheep.

This topic is closed to new replies.

Advertisement