Type Function Object Recording Library media.* Return value Number Revision Release 2024.3703 Keywords getSampleRate See also object:setSampleRate()
Gets the current audio recording sample rate.
recording:getSampleRate()
r:setSampleRate( rate ) -- request a new sampling rate local actualRate = r:getSampleRate()