c++ - how to use FMOD to record sound more than 5 seconds -
i came across fmod recently, , have been trying record sound c++ program using fmod. saw nice little example given in fmod documentation. easy understand, records audio 5 seconds.
how can use fmod record audio more 5 seconds, of custom size passed program?
troubleshooting done far-
- i think need changes fmod::sound object, not quite sure what.
in example given fmod,
exinfo.length = exinfo.defaultfrequency * 25 * exinfo.numchannels * 5;
this 1 of parameters passed sound object, tried changing it, no effect.
- changed value passed sleep function, reduced value, , commented line, had no effect on output of program.
i'd appreciate hints given on this. :)
Comments
Post a Comment