aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/alSoundfont.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2014-06-29 00:47:29 -0700
committerChris Robinson <[email protected]>2014-06-29 00:47:29 -0700
commit389a2f7b4bcffa5cfbe17e8057c8541b0e442bf8 (patch)
tree238deea1698705473073b3aafd0494c08c9dd1f2 /OpenAL32/alSoundfont.c
parentd19e42a723231d63da777d51a3b036683b42e702 (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/alSoundfont.c')
0 files changed, 0 insertions, 0 deletions