Difference between revisions of "love.audio.getPlaybackDevices"

(Created page with "{{newin|12.0|120|type=function}} Gets a list of playback devices on the system. The first device in the list is the user's default playback device. == Function == === Sy...")
 
m
Line 12: Line 12:
 
None.
 
None.
 
=== Returns ===
 
=== Returns ===
{{param|table|devices|The list of connected playback device name as string.}}
+
{{param|table|devices|The list of connected playback device names as strings.}}
  
 
== See Also ==
 
== See Also ==

Revision as of 16:20, 13 April 2024

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

Gets a list of playback devices on the system.

The first device in the list is the user's default playback device.

Function

Synopsis

devices = love.audio.getPlaybackDevices( )

Arguments

None.

Returns

table devices
The list of connected playback device names as strings.

See Also


Other Languages