| Hi all,
Michael mentioned getting noise with PortAudio and I just experienced
that here too when I added the default to device 0. When running
Csound, I get these devices listed:
PortAudio device 0
/dev/dsp
Maximum channels in: 16
Maximum channels out: 16
Default sample rate: 44100.000
PortAudio device 1
Intel 82801CA-ICH3
Maximum channels in: 2
Maximum channels out: 2
Default sample rate: 44100.000
If I use device 1 everything renders like a champ. Using device 0 gets
very loud noise. It's strange to me too that device 0 here has 16
channels when the only device on this laptop is the built-in sound card
device which has nowhere near that capacity. So, if anyone has any
ideas here it'd be appreciated. For the time being, I'm changing the
default to device 1.
I've added the default to device 1 as well as a message as to what
device selected if given by the user. I've also extracted a
listPortAudioDevices method from rtpa.c::playopen_() to make that code a
little easier to read.
Thanks,
steven |