getDefaultAudioDevices

getDefaultAudioDevices#

csoundengine.csoundlib.getDefaultAudioDevices(backend='')[source]#

Returns the default audio devices for a given backend

Note

Results are cached for a period of time

Parameters:

backend – the backend to use (None to get the default backend)

Return type:

tuple[AudioDevice | None, AudioDevice | None]

Returns:

a tuple (input devices, output devices)