|
|
|
signed char F_API FSOUND_Sample_Lock(
FSOUND_SAMPLE *sptr,
int offset,
int length,
void **ptr1,
void **ptr2,
unsigned int *len1,
unsigned int *len2
);
| sptr | Pointer to the sample definition. |
| offset | Offset in BYTES to the position you want to lock in the sample buffer. |
| length | Number of BYTES you want to lock in the sample buffer. |
| ptr1 | Address of a pointer that will point to the first part of the locked data. |
| ptr2 | Address of a pointer that will point to the second part of the locked data. This will be NULL if the data locked hasnt wrapped at the end of the buffer. |
| len1 | Length of data that was locked for ptr1 |
| len2 | Length of data that was locked for ptr2. This will be 0 if the data locked hasnt wrapped at the end of the buffer. |