From f774bcbd044f66ff63b657e708e074bb027a01bb Mon Sep 17 00:00:00 2001 From: Johannes Pohl Date: Sun, 22 Feb 2015 14:17:13 +0100 Subject: [PATCH] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ae60cb68..279c5f85 100644 --- a/README.md +++ b/README.md @@ -8,12 +8,12 @@ The server's audio input is a named pipe `/tmp/snapfifo`. All data that is fed i How does is work ---------------- -The snapserver reads PCM chunks of 50ms duration from the pipe '/tmp/snapfifo'. The chunk is encoded and tagged with the local time +The snapserver reads PCM chunks of 50ms duration from the pipe `/tmp/snapfifo`. The chunk is encoded and tagged with the local time * PCM: lossless uncompressed * FLAC: lossless compressed [default] * Vorbis: lossy compression -The encoded chunk is sent via a TCP connection to the clients. +The encoded chunk is sent via a TCP connection to the snapclients. Each client does continuos time synchronization with the server, so that the client is always aware of the local server time. Every received chunk is first decoded and added to the client's chunk-buffer. Knowing the server's time, the chunk is played out using alsa at the appropriate time. Time deviations are corrected by * skipping parts or whole chunks