All pastes #263067 Raw Edit

Miscellany

public text v1 · immutable
·published 2006-12-01 04:17 UTC
rendered paste body
Spc_Emu.cpp line 290:

    count = long (count * resampler.ratio()) & ~1;
    
    count -= resampler.skip_input( count );

Replace these lines with

    if ( sample_rate() != native_sample_rate )
    {
        count = long (count * resampler.ratio()) & ~1;
        count -= resampler.skip_input( count );
    }