rperre;556610 Wrote:
> Is it at all possible to get portaudio to except a greater rate error?
> Richard
You can increase the allowed rate error by increasing the 0.01 in line
1310 of pa_linux_alsa.c PADEV r1508
Code:
--------------------
1310: if( (fabs( *sampleRate - sr ) / *sampleRate) > 0.01 )
1311: {
1312: PA_DEBUG(("%s: Wanted %f, closest sample rate was
%d\n",__FUNCTION__, sampleRate, sr ));
1313: PA_ENSURE( paInvalidSampleRate );
1314: }
--------------------
If you get the USB soundcard(s) to work with a larger value, post that
value here and I'll add the change to the linux alsa makefiles.
--
ralphy
------------------------------------------------------------------------
ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=63966
_______________________________________________
discuss mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/discuss