[Openal] ADPCM support
Mike Armstrong
mike at m1k3.co.uk
Wed May 24 19:07:47 PDT 2006
Hi
Having downloaded the source and had a good look around, it seems that
ADPCM support amounts to the decompression of
data uploaded to a buffer via alBufferData. Many moons ago (2003ish)
there was talk of the adpcm data decompressing on
the fly and having looked at the FillBuffer code within alc.c this seems
very possible given the quick decompression of adpcm and short
(1sec dsound buffer).
Is there still a plan to resurrect this task as it would removed the
need to manage many queued buffers via a polling system for
anyone wanting to conserve memory/space by using adpcm on common
shortish sounds?
I did think of another method of only creating buffers as they were
require via a simple caching scheme, however the main advantage of the
FillBuffer method would be that it would spread the load of
decompression over several frames for longer than 1sec sounds.
many thanks
mike
More information about the Openal
mailing list