Jump to content



I have a question regarding fstreaming and audio

  • You cannot reply to this topic
2 replies to this topic

#1 Aluthreney   Members   -  Reputation: 99

Like
0Likes
Like

Posted 08 February 2012 - 03:39 PM

Is it possible to save an audio file to an ifstream pointer?

Ad:

#2 Washu   Senior Moderators   -  Reputation: 2448

Like
0Likes
Like

Posted 08 February 2012 - 03:41 PM

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.
ScapeCode - Blog | SlimDX

#3 Aluthreney   Members   -  Reputation: 99

Like
0Likes
Like

Posted 08 February 2012 - 03:54 PM

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?






We are working on generating results for this topic
PARTNERS