Type Function Object Recording Library media.* Return value Number Revision 2017.3060 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()