getSystemSr

Contents

getSystemSr#

csoundengine.csoundlib.getSystemSr(backend)[source]#

Get the system samplerate for a given backend

None is returned if the backend does not support a system sr. At the moment only jack and coreaudio (auhal) report a system-sr

Parameters:

backend (str) – the name of the backend (jack, pa_cb, auhal, etc)

Return type:

float | None

Returns:

the system sr if the backend reports this information, or None