add setting to disable DC offset correction
This commit is contained in:
parent
38103d9c1f
commit
717e75f82d
9 changed files with 57 additions and 11 deletions
|
|
@ -205,7 +205,7 @@ struct DivDispatchContainer {
|
|||
short* bbInMapped[DIV_MAX_OUTPUTS];
|
||||
short* bbIn[DIV_MAX_OUTPUTS];
|
||||
short* bbOut[DIV_MAX_OUTPUTS];
|
||||
bool lowQuality, dcOffCompensation;
|
||||
bool lowQuality, dcOffCompensation, hiPass;
|
||||
double rateMemory;
|
||||
|
||||
// used in multi-thread
|
||||
|
|
@ -213,7 +213,7 @@ struct DivDispatchContainer {
|
|||
unsigned int size;
|
||||
|
||||
void setRates(double gotRate);
|
||||
void setQuality(bool lowQual);
|
||||
void setQuality(bool lowQual, bool dcHiPass);
|
||||
void grow(size_t size);
|
||||
void acquire(size_t offset, size_t count);
|
||||
void flush(size_t count);
|
||||
|
|
@ -230,6 +230,7 @@ struct DivDispatchContainer {
|
|||
lastAvail(0),
|
||||
lowQuality(false),
|
||||
dcOffCompensation(false),
|
||||
hiPass(true),
|
||||
rateMemory(0.0),
|
||||
cycles(0),
|
||||
size(0) {
|
||||
|
|
@ -389,6 +390,7 @@ class DivEngine {
|
|||
int chans;
|
||||
bool active;
|
||||
bool lowQuality;
|
||||
bool dcHiPass;
|
||||
bool playing;
|
||||
bool freelance;
|
||||
bool shallStop, shallStopSched;
|
||||
|
|
@ -1224,6 +1226,7 @@ class DivEngine {
|
|||
chans(0),
|
||||
active(false),
|
||||
lowQuality(false),
|
||||
dcHiPass(true),
|
||||
playing(false),
|
||||
freelance(false),
|
||||
shallStop(false),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue