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

AVAudioSession? #340

Open
GantMan opened this issue Jan 29, 2014 · 2 comments
Open

AVAudioSession? #340

GantMan opened this issue Jan 29, 2014 · 2 comments

Comments

@GantMan
Copy link
Contributor

GantMan commented Jan 29, 2014

I have a project that requires I implement AVAudioSession (specifically category AVAudioSessionCategoryAmbient)

It appears there's nothing for this in BW, so if I were to add it, would it go under Bubblewrap media?

If so, how do you guys see this being used?
BW::Media.play_ambiant?

@clayallsopp
Copy link
Contributor

That could be cool - maybe BW::Media::Audio.play, BW::Media::Audio.play_ambient ? and then shortcut them to BW::Media.play_audio(ambient: true) ?

Pretty open to the API structure, but I do think the implementation should exist in BW::Media::Audio (vs. mingling it with Media::Player)

Would love a PR for it!

@GantMan
Copy link
Contributor Author

GantMan commented Jan 30, 2014

👍 Will put it on my list :D

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

2 participants