[Openal-devel] Re: The state of OpenAL

Stephen J Baker sjbaker at link.com
Tue Sep 6 04:55:20 PDT 2005


Peter Clare wrote:
> Steve Baker <sjbaker1 at airmail.net> wrote on 05/09/2005 23:27:07:
> 
>>Hence, I can see NO reason not to allow an audio buffer 'getter' in
> > OpenAL 1.2.
> 
> We're just going to have to agree to differ.  If you can suggest an
> efficient method for retrieving audio data once it has been DMA'd to
> hardware, or audio data that has been placed in a physically different
> address space (as on some platforms like the PS2) or audio data that has
> been converted to some other format (e.g. ADPCM to PCM) then please propose
> one.

Keep an uncompressed copy in the CPU memory.  That's what OpenGL does for textures
and nobody seems to be complaining about that.  Audio buffers are generally
a lot smaller than texture maps so space shouldn't be a huge issue.

-----------------------------------------------------------------------
The second law of Frisbee throwing states: "Never precede any maneuver
by a comment more predictive than "Watch this!"...it turns out that
this also applies to writing Fragment Shaders.
-----------------------------------------------------------------------
Steve Baker                      (817)619-2657 (Vox/Vox-Mail)
L3Com/Link Simulation & Training (817)619-2466 (Fax)
Work: sjbaker at link.com           http://www.link.com
Home: sjbaker1 at airmail.net       http://www.sjbaker.org




More information about the Openal-devel mailing list