signed char F_API FSOUND_Sample_SetDefaults(
FSOUND_SAMPLE *sptr,
int deffreq,
int defvol,
int defpan,
int defpri
);
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. |