chiark
/
gitweb
/
~mdw
/
disorder
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
104ae93
)
report volume at log start
author
Richard Kettlewell
<rjk@greenend.org.uk>
Mon, 1 Oct 2007 09:45:03 +0000
(10:45 +0100)
committer
Richard Kettlewell
<rjk@greenend.org.uk>
Mon, 1 Oct 2007 09:45:03 +0000
(10:45 +0100)
server/server.c
patch
|
blob
|
blame
|
history
diff --git
a/server/server.c
b/server/server.c
index 1d3e682c78b30aa9d4e33edae59346b55e8e09a1..a30e97828b4f30a1e9a646171a7464c2d591b0c5 100644
(file)
--- a/
server/server.c
+++ b/
server/server.c
@@
-762,6
+762,9
@@
static int c_log(struct conn *c,
if(playing)
sink_printf(ev_writer_sink(c->w), "%"PRIxMAX" state playing\n",
(uintmax_t)now);
if(playing)
sink_printf(ev_writer_sink(c->w), "%"PRIxMAX" state playing\n",
(uintmax_t)now);
+ /* Initial volume */
+ sink_printf(ev_writer_sink(c->w), "%"PRIxMAX" volume %d %d\n",
+ (uintmax_t)now, volume_left, volume_right);
c->lo = xmalloc(sizeof *c->lo);
c->lo->fn = logclient;
c->lo->user = c;
c->lo = xmalloc(sizeof *c->lo);
c->lo->fn = logclient;
c->lo->user = c;