1
Audio / Re: Problem playing old voc file
« on: December 18, 2018, 02:11:34 pm »
VOC is an extension for creative voice files. But no matter, It seems I googled an old documentation link. From the version 2.2 documentation:
Apparently file format support has been more limited in recent versions. I will write the code to convert to wav myself. Should not be to difficult. Thanks for waking me up
Quote
bool sf::SoundBuffer::loadFromFile ( const std::string & filename )
Load the sound buffer from a file.
Here is a complete list of all the supported audio formats: ogg, wav, flac, aiff, au, raw, paf, svx, nist, voc, ircam, w64, mat4, mat5 pvf, htk, sds, avr, sd2, caf, wve, mpc2k, rf64.
Apparently file format support has been more limited in recent versions. I will write the code to convert to wav myself. Should not be to difficult. Thanks for waking me up