[PD] ASIO (bug?)
cb
cb at inner-ear.net
Sat May 18 19:33:25 CEST 2002
Hi Miller, Tom, & everyone else,
To remedy the ASIO issue of always using device 0, I made a slight modification to s_nt.c. I changed the call to pa_open_audio, starting at line 1369, to pass the last argument (audio device number) as:
(naudiooutdev < 0 ? -1 : audiooutdev[0])
instead of:
(naudiooutdev > 0 ? -1 : audiooutdev[0]-1)
ASIO support can then be invoked by starting PD as follows:
pd -asio -sounddev {ASIO Device Number}.
(note that a negative ASIO device number will then trigger PortAudio to use the default driver)
Attached is the modified s_nt.c.
Chris Campbell
cb at inner-ear.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20020518/1583d141/attachment.htm>
More information about the Pd-list
mailing list