Trouble with playback from powersavings mode
Enema Bag Jones <[email protected]>
| Newsgroups | gmane.comp.lib.openal |
|---|---|
| Message-ID | <[email protected]> |
This was a very difficult problem to reproduce... It turns out that OpenAL does not play any audio if I'm trying to run my application from power savings mode. The device and the context is properly created (no errors or null pointers) but the sourceplay function simply doesn't do anything. However, quit the application and re-start within the brief time window (30 sec or so) when the sound card is primed up, everything works fine. You can reproduce this problem yourself (unless it's specific to my laptops) with PlayStream sample. Put your laptop to power savings mode by manually setting it, or unplugging AC. Modify the sample code so that it doesn't create the device list and simply create one with NULL (default device). You'll see that the buffer counter is stuck at 0 and does not produce any audio. Quit and restart immediately and it will play. Any help would be appreciated. P.S. If you already read this post at nabble.com, apologies. I didn't realize that nabble was simply mirroring this mailing list, so I'm re-sending it to this list in hopes of garnering more attention. _______________________________________________ Openal mailing list [email protected] http://opensource.creative.com/mailman/listinfo/openal