Available since LÖVE 11.0 |
This type is not supported in earlier versions. |
Represents an audio input device capable of recording sounds.
love.audio.getRecordingDevices | Gets a list of RecordingDevices on the system. | ![]() |
Object:release | Immediately destroys the object's Lua reference. | ![]() |
|
Object:type | Gets the type of the object as a string. | ||
Object:typeOf | Checks whether an object is of a certain type. | ||
RecordingDevice:getBitDepth | Gets the number of bits per sample in the data currently being recorded. | ![]() |
|
RecordingDevice:getChannelCount | Gets the number of channels currently being recorded (mono or stereo). | ![]() |
|
RecordingDevice:getData | Gets all recorded audio SoundData stored in the device's internal ring buffer. | ![]() |
|
RecordingDevice:getName | Gets the name of the recording device. | ![]() |
|
RecordingDevice:getSampleCount | Gets the number of currently recorded samples. | ![]() |
|
RecordingDevice:getSampleRate | Gets the number of samples per second currently being recorded. | ![]() |
|
RecordingDevice:isRecording | Gets whether the device is currently recording. | ![]() |
|
RecordingDevice:start | Begins recording audio using this device. | ![]() |
|
RecordingDevice:stop | Stops recording audio from this device. | ![]() |