setSampleRate

Description

Sets the audio sample rate in Hz (i.e. 22050, 44100, ...)

Syntax

sound.setSampleRate(double rate);

Arguments

rate: This is the audio sample rate

Related Topics 

Sound