mikeperri / flutter_sequencer

A Flutter plugin for music sequencing.
Other
90 stars 38 forks source link

How to switch to new audio output #28

Closed postacik closed 2 years ago

postacik commented 2 years ago

Hi, I am using Sf2Instrument to play notes from sf2 files in my piano application.

On Android, when I plugin a new USB audio device to my phone, the sound output of the library does not switch to the new device and I can not hear the notes I play after that moment.

What is the proper way of switching to the new audio device with this plugin?

postacik commented 2 years ago

I created a pull request for this functionality. Can you please review and merge?

https://github.com/mikeperri/flutter_sequencer/pull/29