RecordingDevice (Français)
Disponible depuis LÖVE 11.0 |
Ce-tte type n'est pas supporté-e par des versions plus anciennes. |
Représente un périphérique d'entrée audio capable d'enregistrer des sons.
Constructeurs
love.audio.getRecordingDevices | Gets a list of RecordingDevices on the system. | 11.0 |
Fonctions
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
Voir également
Autres langues
Dansk –
Deutsch –
English –
Español –
Français –
Indonesia –
Italiano –
Lietuviškai –
Magyar –
Nederlands –
Polski –
Português –
Română –
Slovenský –
Suomi –
Svenska –
Türkçe –
Česky –
Ελληνικά –
Български –
Русский –
Српски –
Українська –
עברית –
ไทย –
日本語 –
正體中文 –
简体中文 –
Tiếng Việt –
한국어
More info