[Openal] Do any implementations support alcSuspendContextcorrectly?

E. Wing ewmailing at gmail.com
Tue Jul 28 17:59:01 PDT 2009


Thanks for the responses on this. I had to sit and think about it for
awhile. One thing that struck me was that alcSuspendContext with
Creative cards allows for batching commands.

As I understand "batching", this will let you queue up OpenAL commands
while the context is suspended. Then when you resume processing, all
the commands (potentially coalesced?) are sent to the card. Is this
correct?

I had not thought of this in terms of alcSuspendContext. For some
reason or another, I was thinking that  a suspended context would just
throw away commands (become no-ops). But after thinking about this and
dealing with an evil corner case on the iPhone with handling phone
call interruptions, I think I like the idea of queuing up commands to
be run when processing resumes.

However, re-reading the spec, I don't think any of this behavior is
actually specified. Again, talking about 1.2 wishlists, I think this
needs to be drawn up.

Thanks,
Eric


More information about the Openal mailing list