I found that I can do it using FSOUND_Sample_Lock.
I have a few simple doubts:
1- Is there any way to get the size in bytes, without calculating using "Length * SampleSize * NumChannels"?
2- The samples are stored in the buffer as 8-bit or 16-bit, or just as 16-bit?
- afort582 answered 8 years ago
You’ve proabably figured this out already…
If not, hope this helps.
returns various lengths (bytes, milliseconds, samples…)
returns the sound format which can be 16 bit (little endian formati, -32768 to +32768) or one of the other FMOD_SOUND_FORMAT_ enumerated types.
- rbradfordmm answered 7 years ago
Please login first to submit.