royalsaltmerchant / tape_sim

A multi-track audio recorder to simulate a tape machine experience
2 stars 0 forks source link

attempt to update audio stream settings on hardware changes #23

Closed fogg4444studio closed 6 months ago

fogg4444studio commented 6 months ago

Right now when the app starts the init function handles the setup for PortAudio, this assigns connections to the I/O device based on the available defaults from the OS settings. We want to listen for changes to this environment and update the PA stream accordingly so the application doesn't crash if the system IO device settings are changed from beneath.

Nice to have: settings configuration

Alternatively, do nothing (just don't crash the application) or have a warning about misconfiguration for now.