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

Deactivating an audio session with APAudioPlayer #21

Open
ranasaleh87 opened this issue Jun 13, 2019 · 0 comments
Open

Deactivating an audio session with APAudioPlayer #21

ranasaleh87 opened this issue Jun 13, 2019 · 0 comments

Comments

@ranasaleh87
Copy link

Hiii,
Every time I try to deactivate the AVAudiosession, I get this warning:All I/O should be stopped or paused prior to deactivating the audio session., even though the apaudioplayer instance is stopped.
Please note also that if I deactivate the audio session on "- (void)playerDidFinishPlaying:(APAudioPlayer *)player", I can not replay the audio anymore.
Please advise
Rana

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