chiark
/
gitweb
/
~mdw
/
disorder
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
1153fd2
)
missing samples_written assign
author
rjk@greenend.org.uk
<>
Sun, 16 Sep 2007 19:37:03 +0000
(20:37 +0100)
committer
rjk@greenend.org.uk
<>
Sun, 16 Sep 2007 19:37:03 +0000
(20:37 +0100)
clients/playrtp.c
patch
|
blob
|
blame
|
history
diff --git
a/clients/playrtp.c
b/clients/playrtp.c
index e259b2c49e51a834df15f3713323bd40e9011a7f..4531ae4da9cf56f27c0fd21ca4517c86e0f41d5d 100644
(file)
--- a/
clients/playrtp.c
+++ b/
clients/playrtp.c
@@
-416,8
+416,10
@@
static void play_rtp(void) {
if(frames_written != -EAGAIN)
fatal(0, "error calling snd_pcm_writei: %ld",
(long)frames_written);
- } else
+ } else {
+ samples_written = frames_written * 2;
next_timestamp += samples_written;
+ }
}
}
active = 0;