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

Set volume for both earpieces (left and right) individually - setVolume Method #1103

Closed
superwebarmy opened this issue Apr 16, 2022 · 5 comments
Labels
feature-request platform-android Affects the android platform

Comments

@superwebarmy
Copy link

Hi, Hope you are doing well. In android native, MediaPlayer has a method called setVolume which accepts two parameters, left volume and right volume. Basically, it lets you set the volume for both earpieces individually

Can you please include such a feature in the audio player package? That would be great!

Thank you

@superwebarmy
Copy link
Author

superwebarmy commented Apr 16, 2022

I looked into the code and found out that you are using setVolume but currently you are letting users to pass only one argument in setVolume, so it sets the same value to both left and right volume

It would be great if you allow users to pass both arguments for setVolume (one for left and other one for right volume)

@luanpotter
Copy link
Member

We probably can do that after v1. The problem is support on other platforms, what we expose is always a subset of what each platform has.

@superwebarmy
Copy link
Author

superwebarmy commented Apr 27, 2022

Thank you for answering my query :) it would be great if you let users set the volume for both volume scalars

This would give us more freedom in terms of interacting with the volume functionality :)

I understood your concern that you need to consider every platform while publishing new features

maybe you could create a separate function for setVoume (accepts both parameter) that is specifically available for android platform

@luanpotter

@superwebarmy
Copy link
Author

Any update on this requested feature? @luanpotter :)

@Gustl22
Copy link
Collaborator

Gustl22 commented Sep 27, 2022

Closing in favor of #58

@Gustl22 Gustl22 closed this as completed Sep 27, 2022
@Gustl22 Gustl22 added the platform-android Affects the android platform label Sep 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request platform-android Affects the android platform
Projects
None yet
Development

No branches or pull requests

3 participants