Difference between revisions of "love.audio.getRecordingDevices"

m
m
 
Line 15: Line 15:
 
{{param|table|devices|The list of connected [[RecordingDevice|recording devices]].}}
 
{{param|table|devices|The list of connected [[RecordingDevice|recording devices]].}}
 
== Notes ==
 
== Notes ==
Audio recording for Android is supported since [[11.3]]. Furthermore, it's not supported when APK from Play Store is used.
+
Audio recording for Android is supported since [[11.3]]. However, it's not supported when APK from Play Store is used.
 
== See Also ==
 
== See Also ==
 
* [[parent::love.audio]]
 
* [[parent::love.audio]]

Latest revision as of 03:08, 2 November 2019

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

Gets a list of RecordingDevices on the system.

The first device in the list is the user's default recording device. The list may be empty if there are no microphones connected to the system.

Audio recording is currently not supported on iOS.

Function

Synopsis

devices = love.audio.getRecordingDevices( )

Arguments

None.

Returns

table devices
The list of connected recording devices.

Notes

Audio recording for Android is supported since 11.3. However, it's not supported when APK from Play Store is used.

See Also

Other Languages