summaryrefslogtreecommitdiffstats
path: root/OpenAL32/alSource.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2008-10-10 01:13:32 -0700
committerChris Robinson <[email protected]>2008-10-10 01:13:32 -0700
commit36f133a5ae4c1d9ed4cf4769d69fea54e825822d (patch)
tree02c326f748c7b2840573d7a0579d6ac06d836f7d /OpenAL32/alSource.c
parent74a58c0d095417b7dc1192eb608b718f212ab27d (diff)
Use a modulo to keep the buffer position in range for looping sources
A high pitch and low buffer size can cause a lot of unnecessary iterations otherwise, that just decrement the position
Diffstat (limited to 'OpenAL32/alSource.c')
0 files changed, 0 insertions, 0 deletions