getAudioBackend

getAudioBackend#

csoundengine.csoundlib.getAudioBackend(name='')[source]#

Given the name of the backend, return the AudioBackend structure

Only available backends are considered. Some backends listed for a given platform might not be running and thus will not be listed

Parameters:

name – the name of the backend

Return type:

AudioBackend | None

Returns:

the AudioBackend structure, or None if the audio backend is not available or unknown

Name

Description

Linux

Windows

MacOS

pa_cb

portaudio-callback

✓

✓

✓

pa_bl

portaudio-blocking

✓

✓

✓

portaudio

alias to pa_cb

✓

✓

✓

jack

jack

✓

?

✓

pulse

pulseaudio

✓

✗

✗

pulseaudio

alias to pulse

✓

✗

✗

auhal

coreaudio

✗

✗

✓

coreaudio

alias to auhal

✗

✗

✓