Difference between revisions of "love.audio.getPlaybackDevices"

m
m
 
(One intermediate revision by the same user not shown)
Line 16: Line 16:
 
== See Also ==
 
== See Also ==
 
* [[parent::love.audio]]
 
* [[parent::love.audio]]
 +
* [[love.audio.getPlaybackDevice]]
 +
* [[love.audio.setPlaybackDevice]]
 
[[Category:Functions]]
 
[[Category:Functions]]
 
{{#set:Description=Gets a list of playback devices on the system.}}
 
{{#set:Description=Gets a list of playback devices on the system.}}

Latest revision as of 16:21, 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