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

x/mobile/exp/audio: support audio streaming #10329

Open
rakyll opened this issue Apr 3, 2015 · 2 comments
Open

x/mobile/exp/audio: support audio streaming #10329

rakyll opened this issue Apr 3, 2015 · 2 comments
Assignees
Milestone

Comments

@rakyll
Copy link
Contributor

@rakyll rakyll commented Apr 3, 2015

Currently, the audio player has a naive OpenAL backend that buffers the entire source into the memory to prepare the media. We currently can only recommend the audio player to play small audio files such as sound effects.

In order to relax this restriction we should limit the generation of OpenAL buffers and reuse them as the source is done processing. The number of buffers to be generated are limited on some platforms, such as iOS, to certain number. The rate of processing, and the host device's resources are both critical in the determination of the number of active buffers.

@rakyll rakyll added the repo-mobile label Apr 3, 2015
@rakyll rakyll self-assigned this Apr 3, 2015
@rakyll rakyll added this to the Go1.5 milestone Apr 3, 2015
@rakyll
Copy link
Contributor Author

@rakyll rakyll commented Apr 3, 2015

Per @nigeltao's suggestion, I will draft a design doc with more details.

@rsc rsc changed the title mobile/audio: support audio streaming x/mobile/audio: support audio streaming Apr 14, 2015
@rsc rsc removed the repo-mobile label Apr 14, 2015
@rsc rsc modified the milestones: Unreleased, Go1.5 Apr 26, 2015
@rakyll rakyll changed the title x/mobile/audio: support audio streaming x/mobile/exp/audio: support audio streaming Oct 7, 2015
@gopherbot
Copy link

@gopherbot gopherbot commented Oct 10, 2015

CL https://golang.org/cl/15510 mentions this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.