pandemonium_demo_projects/audio/device_changer/README.md

21 lines
529 B
Markdown
Raw Permalink Normal View History

# Audio Device Changer
This is a demo showing how the audio output device can be changed from Godot.
Language: GDScript
Renderer: GLES 2
Check out this demo on the asset library: https://godotengine.org/asset-library/asset/525
## How does it work?
It uses the `set_device()` method in
[`AudioServer`](https://docs.godotengine.org/en/latest/classes/class_audioserver.html)
to change the audio device.
The list of devices is populated using `get_device_list()`.
## Screenshots
![Screenshot](screenshots/device_changer.png)