christf / snapcastc

C implementation of snapcast focussing on audio quality and ease of maintenance.
GNU General Public License v3.0
43 stars 6 forks source link

Have you checked it on 64b #37

Closed jonsmirl closed 4 years ago

jonsmirl commented 5 years ago

The math calculating timestamps appears to be messed up, the timestamps are always negative. Maybe a 64b/32b issue with long int? I get these errors continuously and audio is messed up. Do not know enough yet to debug it.

This is on 64b desktop ubuntu. Also I had to compile libopus from source, before that it would not work at all. BTW - have client/server on same machine with loopback

We are horribly late when reading from the pipes - Using current timestamp to play back current chunk. Consider adjusting timeout_ms for this stream. We are horribly late when reading from the pipes - Using current timestamp to play back current chunk. Consider adjusting timeout_ms for this stream. We are horribly late when reading from the pipes - Using current timestamp to play back current chunk. Consider adjusting timeout_ms for this stream.

BUFFER UNDERRUN BUFFER UNDERRUN BUFFER UNDERRUN BUFFER UNDERRUN BUFFER UNDERRUN BUFFER UNDERRUN BUFFER UNDERRUN

christf commented 5 years ago

@Jonsmirl, What is the exact commandline you are using? Are your clocks synchronized by eg ntp?

christf commented 4 years ago

can you please show the logic and the timestamps? I have this working on a 64bit platform as this is my test system...

christf commented 4 years ago

closing due to inactivity. feel free to re-open when the problem still persists with a current code base.