gen2brain/malgo

Runtime selection between PulseAudio and ALSA?

tphakala opened this issue · 1 comments

Is there a way to select between PulseAudio and ALSA at runtime?

Sure, pass the backends []Backend to malgo.InitContext instead of nil, i.e. malgo.InitContext([]malgo.Backend{malgo.BackendAlsa} ...).