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
Labels
mobile Android, iOS, and x/mobile
Milestone

Comments

@rakyll
Copy link
Contributor

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 self-assigned this Apr 3, 2015
@rakyll rakyll added this to the Go1.5 milestone Apr 3, 2015
@rakyll
Copy link
Contributor Author

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

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

@changkun changkun added the mobile Android, iOS, and x/mobile label Feb 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mobile Android, iOS, and x/mobile
Projects
None yet
Development

No branches or pull requests

4 participants