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

Support AVAudioPlayer.pan #413

Closed
actow opened this issue May 25, 2021 · 3 comments
Closed

Support AVAudioPlayer.pan #413

actow opened this issue May 25, 2021 · 3 comments
Assignees
Labels
1 backlog enhancement New feature or request

Comments

@actow
Copy link

actow commented May 25, 2021

Is your feature request related to a problem? Please describe.
lack of the ability to adjust volume between the left and right channels

Describe the solution you'd like
Expose AVAudioPlayer.pan
https://developer.apple.com/documentation/avfaudio/avaudioplayer/1390884-pan

Describe alternatives you've considered
none

Additional context
This would enable the creation of basic 3D sound effects.

@actow actow added 1 backlog enhancement New feature or request labels May 25, 2021
@actow
Copy link
Author

actow commented May 25, 2021

On Android. It's probably MediaPlayer.setVolume(left, right) or SoundPool.play(...)

@ryanheise
Copy link
Owner

I have implemented this on Android although it is not yet pushed to GitHub. For iOS I do not use AVAudioPlayer so this solution won't work. However, this will be easier once #334 is done.

Note: I am currently handling this issue in #126 so please add your use case to that issue.

@github-actions
Copy link

github-actions bot commented Nov 3, 2021

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs, or use StackOverflow if you need help with just_audio.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 3, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
1 backlog enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants