View Single Post
Old 11-19-2018, 09:16 AM   #59
nitsuj
Human being with feelings
 
nitsuj's Avatar
 
Join Date: Nov 2017
Posts: 162
Default

Quote:
Originally Posted by TBProAudio View Post
Yes, it was the denorm thing. Just find the small update here (still wo 2x OS bug).


Update 1.2: denorm fixed, click into graphics resets max values
What did you do to fix the denorm issues?

BTW, here's the code to fix the oversampling 2x. It's in the top original zip file now.

Code:
/*
 * Set oversampling rate including PDC
 */
function set_oversample(os) (
  // We'll only switch to oversampling if the sample rate
  // is low enough to benefit.
  srate < 88200 && os ? (
    DO_OVERSAMPLE = 1;
    SAMPLE_RATE = srate * 2;
    pdc_delay = get_FIR_pdc();
    pdc_bot_ch = 0;
    pdc_top_ch = 2; 
  ) : ( 
    DO_OVERSAMPLE = 0;
    SAMPLE_RATE = srate;
    pdc_delay = 0;
    pdc_bot_ch = 0;
    pdc_top_ch = 2; 
  );
);
nitsuj is offline   Reply With Quote