[API function]
Sets a channels frequency or playback rate, in HZ.
signed char F_API FSOUND_SetFrequency(
int channel,
int freq
);
Parameters
channel |
The channel number/handle to change the frequency for. FSOUND_ALL can also be used (see remarks).
|
freq |
The frequency to set. Valid ranges are from 100 to 705600.
|
Return Value
On success, TRUE is returned.
On failure, FALSE is returned.
Remarks
FSOUND_ALL is supported here. Passing this will set ALL channels to specified frequency.
If FSOUND_ALL is used the last channel success flag will be returned. It is not very useful.
See Also
FSOUND_DSP_MixBuffers
,
FSOUND_GetFrequency
,
FSOUND_Record_StartSample
,
FSOUND_Sample_SetDefaults
This document copyright ©Firelight Multimedia, 1999-2001. All rights reserved.
Generated Thu Sep 13 00:18:09 2001
by SourceDoc v0.10, the automated source code documenter.