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

Audio inout only works if no other app requests it (w/ possible solution). #13

Open
Slluxx opened this issue Dec 11, 2024 · 0 comments
Open

Comments

@Slluxx
Copy link

Slluxx commented Dec 11, 2024

This is a duplicate of threethan/LightningBrowser#9 , since i am not sure to which repo it belongs.


For example launching discord works just fine but then launching an app that wants to capture audio input, it gains control over it, leaving discord to recieve only silence. This has been by design on android but there have been changes since android 11 that could maybe fix this.

https://developer.android.com/media/platform/sharing-audio-input?hl=en#concurrent-capture-r

As per https://stackoverflow.com/questions/4495122/sharing-audio-input-on-android
You can also use

MediaRecorder mRecorder = new MediaRecorder();
mRecorder.setAudioSource(MediaRecorder.AudioSource.VOICE_UPLINK);

However, i dont know how much success it yields.

I hope this gets explored so we can talk to friends in discord while playing other games.

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