godot-demo-projects/audio/device_changer
Hugo Locurcio 1d5184e235
Update most demos for Godot 4.0.beta10 (#782)
2023-01-05 16:50:17 +01:00
..
screenshots
Changer.gd Convert demos to Godot 4 using regular expressions in a script 2022-03-26 16:09:10 -05:00
Changer.tscn Update most demos for Godot 4.0.beta10 (#782) 2023-01-05 16:50:17 +01:00
Intro.ogg
Intro.ogg.import Update most demos for Godot 4.0.beta10 (#782) 2023-01-05 16:50:17 +01:00
README.md Link to the asset library from the README of each demo 2020-09-10 15:37:10 -04:00
icon.png New Icons for 4.0-dev demos: 2022-04-20 10:31:44 +09:00
icon.png.import Update most demos for Godot 4.0.beta10 (#782) 2023-01-05 16:50:17 +01:00
project.godot Update most demos for Godot 4.0.beta10 (#782) 2023-01-05 16:50:17 +01:00

README.md

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 to change the audio device. The list of devices is populated using get_device_list().

Screenshots

Screenshot