We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent adefe86 commit df3f97bCopy full SHA for df3f97b
virtio-snd.c
@@ -859,8 +859,8 @@ static void __virtio_snd_frame_enqueue(void *payload,
859
860
uint32_t buffer_bytes = props->pp.buffer_bytes;
861
if (mask + cons_tail - prod_next >= buffer_bytes) {
862
- fprintf(stderr, "buffer ready for %" PRIu32 "\n",
863
- mask + cons_tail - prod_next);
+ fprintf(stderr, "buffer ready for %" PRIu32 " cons_tail %" PRIu32 " prod_next %" PRIu32 "\n",
+ mask + cons_tail - prod_next, cons_tail, prod_next);
864
props->ring.buf_ev_notity++;
865
pthread_cond_signal(&props->ring.readable);
866
}
0 commit comments