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

Enhancement #4

Open
umairuas opened this issue Jul 22, 2020 · 4 comments
Open

Enhancement #4

umairuas opened this issue Jul 22, 2020 · 4 comments
Assignees
Labels
enhancement New feature or request

Comments

@umairuas
Copy link

Hi, Can you please add speed feature with your player, Like user should be able to set speed of the player. For example 1x by default. 1.5x , 2x or 3x.
Thanks for the quick response of my previous reply.

@umairuas
Copy link
Author

umairuas commented Jul 23, 2020

After some research I summarised my question. Allow us to change the below two values if you are using AVAudioPlayer.
1 - player.enableRate
2 - player.rate
That's it.

@umairuas umairuas changed the title Enhancement Issue Jul 24, 2020
@shebinkoshy shebinkoshy added the enhancement New feature or request label Jul 24, 2020
@shebinkoshy shebinkoshy self-assigned this Jul 24, 2020
@umairuas umairuas changed the title Issue Enhancement Jul 27, 2020
@umairuas
Copy link
Author

Done bro. Need your help here.

@shebinkoshy
Copy link
Owner

@umairuas
You can achieve it using your own logic by using player.sliderValueChanged(slider: slider)

But, we would like to know your usage of SHAudioPlayer.

  1. Are you using the player to stream from network or local or both?
  2. Your app require support for all the audio formats (mp3, m4a, etc)?

@umairuas
Copy link
Author

I am streaming the audio. It will not smooth if i am going to use player.sliderValueChanged(slider: slider).

1- Yes i am streaming the audio.
2- Yes My app support mp3 and m4a only.
Thanks for the quick response.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants