chiark / gitweb /
Bump up default RTP player buffer sizes. Now big enough to keep ALSA
authorRichard Kettlewell <rjk@greenend.org.uk>
Sat, 11 Apr 2009 19:53:12 +0000 (20:53 +0100)
committerRichard Kettlewell <rjk@greenend.org.uk>
Sat, 11 Apr 2009 19:53:12 +0000 (20:53 +0100)
(first doubling) and ALSA's OSS emulation (second doubling) fed.  The
initial buffer size is still under half a second, and feels close to
instant to this listener.

Also, the player thread now consumes packets immediately rather than
waiting for the next iteration, preventing a race where the (inner)
playing loop at the bottom of main() can terminate unnecessarily
early.

There's bits of debugging code left lying around commented out.  It's
harmless for now!


No differences found