[PD] ASIO (bug?)
Miller Puckette
mpuckett at man104-1.ucsd.edu
Sat May 18 20:07:29 CEST 2002
Wow, thought I had already fixed that one but looks like I hadn't.
I think, though, it should be:
(naudiooutdev < 1 ? -1 : audiooutdev[0]));
... in other words, if there are fewer than one audio device, default to
-1...
thanks
Miller
On Sat, May 18, 2002 at 01:33:25PM -0400, cb wrote:
> 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
More information about the Pd-list
mailing list