mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-10 08:33:36 +02:00
patch from Luciano Rosa to accommodate hi-rez devices (starting with M2Tech products)
This commit is contained in:
@@ -960,7 +960,7 @@ static PaError ValidateOpenStreamParameters(
|
||||
|
||||
|
||||
/* Check for absurd sample rates. */
|
||||
if( (sampleRate < 1000.0) || (sampleRate > 200000.0) )
|
||||
if( (sampleRate < 1000.0) || (sampleRate > 384000.0) )
|
||||
return paInvalidSampleRate;
|
||||
|
||||
if( ((streamFlags & ~paPlatformSpecificFlags) & ~(paClipOff | paDitherOff | paNeverDropInput | paPrimeOutputBuffersUsingStreamCallback ) ) != 0 )
|
||||
|
Reference in New Issue
Block a user