Re: Playing two sounds exactly at the same time
Eric Wing <[email protected]>
| Newsgroups | gmane.comp.lib.openal |
|---|---|
| Message-ID | <[email protected]> |
Put the sources in an array and use alSourcePlayv, e.g. alSourcePlayv(2, array_of_sources); -Eric On 6/9/10, Mike Phuycharoen <[email protected]> wrote: > I have a stereo sound that I'm trying to play with 3D positioning. I've > split the sound into 2 monos, and loaded two sources. When I use: > > alSourcePlay(source1); > alSourcePlay(source2); > > I can hear a small offset between sounds. Is there a command to play > multiple sources at the same time, or how do I accomplish this otherwise? > > Thanks, Mike > _______________________________________________ > Openal mailing list > [email protected] > http://opensource.creative.com/mailman/listinfo/openal > _______________________________________________ Openal mailing list [email protected] http://opensource.creative.com/mailman/listinfo/openal