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

All audio samples are streamed. #5

Open
monokrome opened this issue Aug 12, 2010 · 1 comment
Open

All audio samples are streamed. #5

monokrome opened this issue Aug 12, 2010 · 1 comment

Comments

@monokrome
Copy link
Owner

Currently, IOpenALSample only supports audio streaming. This is possibly inefficient for small sound effects, as they should instead be completely loaded - played - and then disposed of.

There is no reason why this should be streamed. Although, I don't think there's too much of a performance decrease either way.

Ideally, samples should have a SetStreaming() method.

@monokrome
Copy link
Owner Author

Also, unstreamed samples can gain the benefit of being cached if we implement some sort of sample caching mechanism so that samples can be created on-the-fly when needed to play cached sounds.

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