How do I use the AudioServer.capture_set_device() ? Maybe a Bug?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Gamemap

In my code I have the following:
print(AudioServer.capture_get_device_list())
AudioServer.capture_set_device("Stereo Mix")
print(AudioServer.capture_get_device())
In the Output it says:
[Default, Stereo Mix (Realtek High Definition Audio), Microphone (Realtek High Definition Audio)] Default

This didn’t worked also:
AudioServer.capture_set_device("Stereo Mix (Realtek High Definition Audio)")

Stereo Mix is enabled.
Do I make something wrong or is it a bug?