[Openal] Buffer properties
Daniel PEACOCK
dpeacock at creativelabs.com
Thu Dec 6 09:53:10 PST 2007
Hi,
You can't change the frequency property of a Buffer after the alBufferData
call, but you *can* set an appropriate pitch on the Source to control the
playback frequency of the attached Buffer. Each generated Source can play
the same Buffer at a different frequency if you want to, so there is no
need to have multiple copies of the same Buffer.
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.
"yücel tas"
<yuceltas at gmail.c
om> To
Sent by: openal at opensource.creative.com
openal-bounces at op cc
ensource.creative
.com Subject
[Openal] Buffer properties
12/06/2007 04:32
AM
In OpenAL how can we change the properties of a buffer? I want to change
the sound frequency in buffer dynamicly and get the new sound by attaching
it to the source, which would be useful for me. I dont want to generate a
new buffer every time.
_______________________________________________
Openal mailing list
Openal at opensource.creative.com
http://opensource.creative.com/mailman/listinfo/openal
ForwardSourceID:NT000548C2
More information about the Openal
mailing list