Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f1b2a9b6 authored by Glenn Kasten's avatar Glenn Kasten
Browse files

Increase allowed number of VHQ resamplers to 3

Bug: 7378660
Change-Id: I69e33ca2eb4bb9bd38e2c63df62cd1130d68baf6
parent b833a1ba
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -130,7 +130,7 @@ uint32_t AudioResampler::qualityMHz(src_quality quality)
    }
}

static const uint32_t maxMHz = 75;  // an arbitrary number that permits 2 VHQ, should be tunable
static const uint32_t maxMHz = 130; // an arbitrary number that permits 3 VHQ, should be tunable
static pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER;
static uint32_t currentMHz = 0;