Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to switch to new audio output #28

Closed
postacik opened this issue Jan 26, 2022 · 1 comment
Closed

How to switch to new audio output #28

postacik opened this issue Jan 26, 2022 · 1 comment

Comments

@postacik
Copy link

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
Copy link
Author

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

#29

@postacik postacik closed this as completed Feb 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant