[Openal] alcGetProcAddress question
Chris Robinson
chris.kcat at gmail.com
Tue May 15 07:44:08 PDT 2007
On Tuesday 15 May 2007 07:19:59 am you wrote:
> It sounds like you've looked at this more than me. How do you go about
> opening multiple ALSA devices (e.g.: what device specifier to you use
> for alcOpenDevice()? ).
On systems where ALSA is enabled, I believe it is the default, so unless you
changed the default device with ~/.openalrc, just passing NULL would be
sufficient. Multiple calls to alcOpenDevice(NULL) would open multiple ALSA
devices. If you wanted to make sure, you'd open:
"'((devices '(alsa))"
or using a recent SVN:
"Advanced Linux Sound Architecture (ALSA)"
Unless you mean which specific ALSA device (eg. hw:0,0 or dmix or something),
you can either put this in ~/.openalrc:
(define alsa-out-device "device-name-here")
or call alcOpenDevice with (I think):
"'((devices '(alsa) alsa-out-device "device-name-here"))"
but I'm not positive about that one since I'm rather confused about the
formatting going on there.
More information about the Openal
mailing list