jur9103
10-06-2004, 02:41 AM
hi.
in Open Al doc. is writen this:
The AL has three fundamental primitives or objects Buffers, Sources, and a single
Listener. Each object can be changed independently, the setting of one object does not affect the setting of others. The application can also set modes that affect processing. Modes are set, objects specified, and other AL operations performed by sending commands in the form of function or procedure calls. Sources store locations, directions, and other attributes of an object in 3D space and have a buffer associated with them for playback. There are normally far more sources defined than buffers. When the program wants to play a sound, it controls execution through a source object. Sources are processed independently from each other.
well, i can have 32 sources max., but i have more than 100 sound sources in my level, but they are not played at once.
Question is: what is good way to manage sources ?
i want to create 100 sources and select 32 of them to play at once, but i dont know how to do it. :(
in Open Al doc. is writen this:
The AL has three fundamental primitives or objects Buffers, Sources, and a single
Listener. Each object can be changed independently, the setting of one object does not affect the setting of others. The application can also set modes that affect processing. Modes are set, objects specified, and other AL operations performed by sending commands in the form of function or procedure calls. Sources store locations, directions, and other attributes of an object in 3D space and have a buffer associated with them for playback. There are normally far more sources defined than buffers. When the program wants to play a sound, it controls execution through a source object. Sources are processed independently from each other.
well, i can have 32 sources max., but i have more than 100 sound sources in my level, but they are not played at once.
Question is: what is good way to manage sources ?
i want to create 100 sources and select 32 of them to play at once, but i dont know how to do it. :(
