Hi. I am new to FMOD so forgive my ignorance in the following question. It’s regarding FMOD_Sound_Lock.
unsigned int offset,
unsigned int length,
unsigned int *len1,
unsigned int *len2
For example I use the function
FMOD_Sound_GetLength(music, &length, FMOD_TIMEUNIT_PCM)
and it gives me length=100000 pcm samples.
Then I call the function again but with FMOD_TIMEUNIT_PCMBYTES.
FMOD_Sound_GetLength(music, &length_in_bytes, FMOD_TIMEUNIT_PCMBYTES)
It gives me the lengthdatawidth(number of bytes of each sample)nm_channels.
Then I lock those samples
FMOD_Sound_Lock(music, 0, length_bytes_1, &ptr1, &ptr2, &length_bytes, &length_bytes)
My question is : If I have 2 channels which sample corresponds to what channel ??
This is fully explained here http://126.96.36.199/documentation/#content/generated/overview/terminology.html
Please login first to submit.