LancePutnam / Gamma

Generic (Sound) Synthesis Library
Other
458 stars 54 forks source link

Segfault is no PortAudio devices are available #60

Open bramtayl opened 1 year ago

bramtayl commented 1 year ago

Trying to use AudioIO if no PortAudio devices are available results in segfaults. It might be good to have more friendly errors.

stewbond commented 7 months ago

Did you ever find a work-around for this? I'm experiencing the same thing.

For me, a temporary work-around is to adjust Windows settings. I've made this only a little more robust by changing the Windows power settings for the USB port to avoid any sleeping. The low-power mode was causing the USB sound card to disconnect and gamma crashed. I still have other problems (like if someone physically unplugs the device, it crashes).