mirror of
https://github.com/cookiengineer/audacity
synced 2025-04-29 23:29:41 +02:00
Bug 1969 - Windows: no monitored sound for 15 secs with software playthrough with default MME host
This was a bug in portaudio MME implementation. With all the buffers bigger than they were meant to be, we got a longer input and longer output delay.
This commit is contained in:
parent
ff01d39601
commit
47926c04fa
@ -1751,7 +1751,11 @@ static PaError CalculateBufferSettings(
|
||||
|
||||
if( *hostFramesPerOutputBuffer != *hostFramesPerInputBuffer )
|
||||
{
|
||||
if( hostFramesPerInputBuffer < hostFramesPerOutputBuffer )
|
||||
// JKC: Patched By Audacity. Our Bug 1969
|
||||
// Previously this line incorrectly read:
|
||||
// if( hostFramesPerInputBuffer < hostFramesPerOutputBuffer )
|
||||
// So it was comparing pointers, rather than the values pointed to.
|
||||
if( *hostFramesPerInputBuffer < *hostFramesPerOutputBuffer )
|
||||
{
|
||||
*hostFramesPerOutputBuffer = *hostFramesPerInputBuffer;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user