[Openal] Pausing looped sounds
Daniel PEACOCK
dpeacock at creativelabs.com
Thu Jul 12 11:15:22 PDT 2007
Hi,
alSourcePlay is the correct function to call to resume playback of a paused
Source. Can you make sure that the AL Error state is clear before calling
alSourcePlay. i.e do this ...
alGetError();
alSourcePlay( uiSourceID);
if (alGetError() != AL_NO_ERROR)
printf("Error!");
Which OS are you using ... and which OpenAL device ?
Thanks,
Dan
Creative Labs, Inc.
Notice
The information in this message is confidential and may be legally
privileged. It is intended solely for the addressee. Access to this
message by anyone else is unauthorized. If you are not the intended
recipient, any disclosure, copying or distribution of the message, or
any action taken by you in reliance on it, is prohibited and may be
unlawful. If you have received this message in error, please delete it
and contact the sender immediately. Thank you.
Lists
<lists at apogeedeve
lop.com> To
Sent by: openal at opensource.creative.com
openal-bounces at op cc
ensource.creative
.com Subject
[Openal] Pausing looped sounds
07/12/2007 10:12
AM
Hello,
If I use alSourcePause to pause a looped sound, what do I use to
restart the sound?
I tried alSourcePlay but I get an AL_INVALID_OPERATION error. I also
tried resetting AL_LOOPING, but that didn't matter (and I really
didn't think it would:-).
Any pointers or ideas would be most appreciated.
aokjoey
_______________________________________________
Openal mailing list
Openal at opensource.creative.com
http://opensource.creative.com/mailman/listinfo/openal
ForwardSourceID:NT00043EFE
More information about the Openal
mailing list