mirror of
https://github.com/badaix/snapcast.git
synced 2025-06-02 19:01:47 +02:00
static
git-svn-id: svn://elaine/murooma/trunk@310 d8a302eb-03bc-478d-80e4-98257eca68ef
This commit is contained in:
parent
8c413917bd
commit
5e9eebd7a7
2 changed files with 3 additions and 3 deletions
|
@ -302,9 +302,9 @@ if (since.count() > 0)
|
|||
else if (shortBuffer.full())
|
||||
{
|
||||
if (chronos::usec(shortMedian) > chronos::usec(100))
|
||||
setRealSampleRate(format.rate * 0.99999);
|
||||
setRealSampleRate(format.rate * 0.9999);
|
||||
else if (chronos::usec(shortMedian) < -chronos::usec(100))
|
||||
setRealSampleRate(format.rate * 1.00001);
|
||||
setRealSampleRate(format.rate * 1.0001);
|
||||
}
|
||||
|
||||
updateBuffers(age.count());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue