Use a map to store sources and buffers
commit0378422fcb4badba0a0dcdce503dcbe9d253f9a8
authorChris Robinson <chris.kcat@gmail.com>
Sun, 2 May 2010 02:59:41 +0000 (1 19:59 -0700)
committerChris Robinson <chris.kcat@gmail.com>
Sun, 2 May 2010 02:59:41 +0000 (1 19:59 -0700)
treeb7bf68507f0b8fa7716c821db445c88df060af29
parent0760415d08031eea36abf193537c8c8a120cb2e6
Use a map to store sources and buffers
And do a lookup using a binary search instead of linear
Alc/ALc.c
Alc/ALu.c
OpenAL32/Include/alBuffer.h
OpenAL32/Include/alMain.h
OpenAL32/Include/alSource.h
OpenAL32/alAuxEffectSlot.c
OpenAL32/alBuffer.c
OpenAL32/alListener.c
OpenAL32/alSource.c
OpenAL32/alState.c