  p-&gt;stage1.newpoints=0;
  }
}

void offset_add_value(cdrom_paranoia *p,offsets *o,long value,
              void(*callback)(long,int)){
  if(o-&gt;offpoints!=-1){

    o-&gt;offdiff+=abs(value);
    o-&gt;offpoints++;
    o-&gt;newpoints++;
    o-&gt;offaccum+=value;
    if(value&lt;o-&gt;offmin)o-&gt;offmin=value;
    if(value&gt;o-&gt;offmax)o-&gt;offmax=value;
    
    if(o-&gt;newpoints&gt;=10)offset_adjust_settings(p,callback);
  }
}

</pre><p>&#160;</p><p>&#160;</p><p>&#160;</p><p>&#160;</p><p>&#1