love.audio.setPlaybackDevice
Available since LÖVE 12.0 |
This function is not supported in earlier versions. |
Change the audio device to specified device. Also used to reconnect audio device in case of device disconnection.
Function
Synopsis
success, message = love.audio.setPlaybackDevice( name )
Arguments
string name (nil)
- Fully qualified device name, or nil to use system default.
Returns
boolean success
- Is the function succeeded?
string message
- Error message on failure (nil on succesful).
Notes
OpenAL-soft 1.22.0 or later is required for this to function. Officially LOVE-distributed binaries (with exception of iOS) ships with latest version of OpenAL-soft.
See Also
Other Languages
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