ralphy wrote: 
> Attached is a log using a debug portaudio.dll
> 
> There are three runs combined in the file.
> 
> 1. -l
> 2. -o 7
> 3. -o 7 -r 48000
> 
> In run 2. you can see portaudio trying to open the device using
> 384000.000000 for the sample rate and failing.  It's actually caused by
> test_open trying to determine the max sample rate.
> 
> In run 3. it uses 44100.000000 successfully as it never probes the
> device for the sample rate.

Triode,

I did some more testing today and it turns out the IsFormatSupported
call returns paNoError for 384000 with some of the windows apis, so that
appears to be a similiar issue to your osx comments in the code.

The paUnanticipatedHostError is coming from the actual openstream.

Perhaps the most acurate way to determine the max sample rate is to just
use Pa_OpenStream in the check for supported rates instead of
Pa_IsFormatSupported since your testing with a call to openstream
afterwards anyway.



Ralphy

*1*-Touch, *4*-Classics, *2*-Booms, *1*-Squeezeslave, *3*-Squeezeplays,
*4*-Squeezelites
'Squeezeslave' (http://code.google.com/p/squeezeslave/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=LL5P6365KQEXN&lc=CA&item_name=Squeezeslave&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted)
always appreciated.
------------------------------------------------------------------------
ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=97766

_______________________________________________
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to