[PD] ASIO (bug?)
cb
cb at inner-ear.net
Sat May 18 19:37:38 CEST 2002
Let's try that again, with the attachment this time.
(sorry!)
----- Original Message -----
From: cb
To: pd-list at iem.kug.ac.at
Sent: Saturday, May 18, 2002 1:33 PM
Subject: Re: [PD] ASIO (bug?)
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/c3d38788/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: s_nt.c
Type: application/octet-stream
Size: 44431 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20020518/c3d38788/attachment.obj>
More information about the Pd-list
mailing list