OpenAL backend buffer size

David Hilbert <[email protected]> Thu, 31 May 2012 12:41:50 +0200
Newsgroups gmane.comp.lib.openal
Message-ID <[email protected]>
Hi Chris (et al)!

I have been trying to figure out how AL handles buffer sizes, and I just wanted to clarify a few things. 


When using alGenBuffers, it is as far as I understand not required to set buffer size manually. That would mean there is some default size. How is that size determined?
How is the genbuffers (software) buffer size related to the backend hardware buffer size?

I use alsa as backend, and when testing sound with e.g. 
aplay -D plughw:0 -vv 
I can choose hardware buffer size by passing the --buffer-size flag. My RME HDSP 9652 card seems to have a max buffer size of 8192, while my old Echo Layla 20 has 32768.
How is the backend hardware buffer size determined? Does AL request a certain size? What happens if it is not supported by the hardware?

How is the same thing handled on windows machines?

Sorry for the torrent of questions, but I really have been struggling to understand this thing...

Best regards,
H


_______________________________________________
Openal mailing list
[email protected]
http://opensource.creative.com/mailman/listinfo/openal