Project

General

Profile

Previous Up Next

asSndSetFrequency
Modifies the sampling frequency of the object AsSnd

AsSnd asSndSetFrequency (
AsSnd _sound_
I _frequency_
)
Parameters

_sound_
Applicable AsSnd object
_frequency_
New sampling frequency for reading the AsSnd
Value between 100Hz and 100000Hz.
Return value

The AsSnd given as a parameter, or nil in case of a failure.
Remark

The AsSnd must have been created with the AS_SND_CTRLFREQUENCY flag.
See Also

asSndGetFrequency