diff options
author | Chris Robinson <[email protected]> | 2014-06-29 00:47:29 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2014-06-29 00:47:29 -0700 |
commit | 389a2f7b4bcffa5cfbe17e8057c8541b0e442bf8 (patch) | |
tree | 238deea1698705473073b3aafd0494c08c9dd1f2 /OpenAL32/alEffect.c | |
parent | d19e42a723231d63da777d51a3b036683b42e702 (diff) |
Store and use an ALbuffer for samples in an ALfontsound
The fontsound still maintains its own start, end, and loop offsets, so that the
same buffer may be shared between multiple/all fontsounds. Ideally a single
buffer should be used for all fontsounds to avoid memory fragmentation and help
CPU caching, although higher quality soundfonts may need more memory than a
single buffer can hold.
Diffstat (limited to 'OpenAL32/alEffect.c')
0 files changed, 0 insertions, 0 deletions