Difference between revisions of "love.audio.getRecordingDevices"

m (Android also lack mic support atm)
m
Line 4: Line 4:
 
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.
 
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 and Android.
+
Audio recording is currently not supported on iOS.
 
== Function ==
 
== Function ==
 
=== Synopsis ===
 
=== Synopsis ===
Line 14: Line 14:
 
=== Returns ===
 
=== Returns ===
 
{{param|table|devices|The list of connected [[RecordingDevice|recording devices]].}}
 
{{param|table|devices|The list of connected [[RecordingDevice|recording devices]].}}
 +
== Notes ==
 +
Audio recording for Android is supported since [[11.3]]. Furthermore, it's not supported when APK from Play Store is used.
 
== See Also ==
 
== See Also ==
 
* [[parent::love.audio]]
 
* [[parent::love.audio]]

Revision as of 03:07, 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. Furthermore, it's not supported when APK from Play Store is used.

See Also

Other Languages