I have a little problem : I use fmod and its fonctions but I don’t know how to reach length of sounds in SECOND.
I use ‘FSOUND_Sample_Load’ to load sound. And I use ‘FSOUND_Sample_GetLength’ to obtain length but it is in SAMPLE.
So I don’t know if it exists function that give length in SECOND when I use sample functions ??
Otherwise I’d like to know how I can reach sample frequency to convert number of sample in time (seconds).
Any help would be greatly appreciated. Thanks.
- Jjju asked 13 years ago
I have the same problem
but I don’t understand !!!
Returns the default volume, frequency, pan and priority values for the specified sample.
signed char F_API FSOUND_Sample_GetDefaults
(FSOUND_SAMPLE *sptr,int *deffreq,int *defvol,int *defpan,int *defpri);
I don’t see how can I get sampling rate here !!
if you can help again …..
Please login first to submit.