signed char F_API FSOUND_Sample_SetDefaultsEx(
FSOUND_SAMPLE *sptr,
int deffreq,
int defvol,
int defpan,
int defpri,
int varfreq,
int varvol,
int varpan
);
sptr | Pointer to the sample to have its attributes set. |
deffreq | Default sample frequency. The value here is specified in hz. -1 to ignore. |
defvol | Default sample volume. This is a value from 0 to 255. -1 to ignore. |
defpan | Default sample pan position. This is a value from 0 to 255 or FSOUND_STEREOPAN. |
defpri | Default sample priority. This is a value from 0 to 255. -1 to ignore. |
varfreq | Frequency variation in hz to apply to deffreq each time this sample is played. -1 to ignore. |
varvol | Volume variation to apply to defvol each time this sample is played. -1 to ignore. |
varpan | Pan variation to apply to defpan each time this sample is played. -1 to ignore. |