RecordingDevice

Available since LÖVE 11.0
This type is not supported in earlier versions.


Represents an audio input device capable of recording sounds.

Constructors

love.audio.getRecordingDevices Gets a list of RecordingDevices on the system. 11.0

Functions

Object:release Immediately destroys the object's Lua reference. 11.0
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. 11.0
RecordingDevice:getChannelCount Gets the number of channels currently being recorded (mono or stereo). 11.0
RecordingDevice:getData Gets all recorded audio SoundData stored in the device's internal ring buffer. 11.0
RecordingDevice:getName Gets the name of the recording device. 11.0
RecordingDevice:getSampleCount Gets the number of currently recorded samples. 11.0
RecordingDevice:getSampleRate Gets the number of samples per second currently being recorded. 11.0
RecordingDevice:isRecording Gets whether the device is currently recording. 11.0
RecordingDevice:start Begins recording audio using this device. 11.0
RecordingDevice:stop Stops recording audio from this device. 11.0

Supertypes

See Also

© 2006–2020 LÖVE Development Team
Licensed under the GNU Free Documentation License, Version 1.3.
https://love2d.org/wiki/RecordingDevice