Giter Site home page Giter Site logo

Comments (5)

badaix avatar badaix commented on August 20, 2024

Hi,

the Snapclient wants to read every 20ms PCM data for 20ms from the pipe.
If it takes 30ms to read 20ms, the "onResync 10ms" message will be logged. So it looks like the PCM data is not written fast enough (i.e. in real time) into the pipe.
This will also happen when the PCM input signal is sampled at 44.1kHz and read by the Snapserver with 48kHz. Could this be the case?

from snapcast.

badaix avatar badaix commented on August 20, 2024

Did you solve it, or maybe you have this problem: #16?

from snapcast.

1337sup3rh4x0r avatar 1337sup3rh4x0r commented on August 20, 2024

I am experiencing something similar. But I fear that my system is simply not powerful enough. I am running snapserver, snapclient and spotify-connect-web from fornoth on a Raspberry Pi 1 B. I notice that when I overclock, the stutters get less, but I can't get rid of them entirely.
Is anyone else running a pi 1 as server successfully or should I upgrade?

from snapcast.

badaix avatar badaix commented on August 20, 2024

I suggest to upgrade ;)
The Snapserver is massively multi-threaded. So just the pure number of cores should help. Plus: each core of RPI2 and RPI3 is faster than the single RPI1 core.
You can also try without encoding: --codec pcm

from snapcast.

christf avatar christf commented on August 20, 2024

actually I think this is an issue.

I am seeing this on my system as well.

2018-12-21 22-17-31 [Info] onResync (default): 1382ms
2018-12-21 22-17-31 [Info] onStateChanged (default): 2
2018-12-21 22-17-43 [Info] onStateChanged (default): 1

It may be that the stream is late by 1382ms. At the same time my snapserver is running with 15s Buffer. That should be enough to compensate for 1.3s of data being late.

from snapcast.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.