getAudioBackendNames

getAudioBackendNames#

csoundengine.csoundlib.getAudioBackendNames()[source]#

Returns a list with the names of the available audio backends for this

Return type:

list[str]

Returns:

a list with the names of all available backends for the given platform

Example

>>> from csoundengine.csoundlib import *
>>> getAudioBackendNames()   # in Linux
['jack', 'pa_cb', 'pa_bl', 'alsa', 'pulse']
>>> getAudioBackendNames(platform='macos')
['pa_cb', 'pa_bl', 'auhal']
# In linux with pulseaudio disabled
>>> getAudioBackendNames(available=True)
['jack', 'pa_cb', 'pa_bl', 'alsa']