1
0
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:
v.audacity
2012-12-03 05:39:17 +00:00
parent b4cb241c09
commit 9e3c8abfd3
4 changed files with 37 additions and 8 deletions

View File

@@ -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 )