first call to alSourcePlay problem
Alan Witkowski <[email protected]>
| Newsgroups | gmane.comp.lib.openal |
|---|---|
| Message-ID | <[email protected]> |
So i'm running into this weird problem with OpenAL on Windows. The first time i call alSourcePlay, the audio sounds a little different. Subsequent calls to the same source work fine. I suppose it could be related to popping or clicking, but it's more subtle. I'm currently using stb_vorbis to decode an ogg file, but i've tried this with wav files and ALUT. I've also tried different sound files. Same thing. I did try the alutHelloWorldBuffer function, and that seems to play fine. I wonder if different sample rates / settings affect this problem differently. This problem does not occur under Ubuntu 9.10. I've tried Windows 7 and XP with the same results. I'm using the latest SDK / bins. I created a test project if anyone else wants to give it a go: http://www.cs.utah.edu/~witkowsk/files/audtest.zip If you go into the working directory and run audtest.exe, 3 sounds will play. The first one sounds kind of like a plastic bat, the next 2 play just fine. Anyone else run into this? Thanks _______________________________________________ Openal mailing list [email protected] http://opensource.creative.com/mailman/listinfo/openal