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

Update react-native example to produce audible output on device speaker. #149

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

cjcenizal
Copy link

As part of #148, I noticed the volume coming out of the speaker was super-low. After wrestling with the AVAudioSession configuration, I tried boosting the volume from AVAudioPlayer. Despite the docs stating the acceptable range is 0-1, setting this beyond 1 actually had the desired effect! I tested this in the simulator too, to ensure it doesn't blow out the volume when run on a laptop.

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

Successfully merging this pull request may close these issues.

1 participant