Skip to content

Commit e1a8cab

Browse files
committed
Add missing pthread_cond_signal
1 parent 5db629e commit e1a8cab

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

virtio-snd.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1013,6 +1013,7 @@ static bool virtio_snd_reg_write(virtio_snd_state_t *vsnd,
10131013
case VSND_QUEUE_TX:
10141014
fprintf(stderr, "TX start\n");
10151015
ev_notify++;
1016+
pthread_cond_signal(&virtio_snd_foo_cond);
10161017
/*virtio_queue_notify_handler(vsnd, value,
10171018
virtio_snd_foo_desc_handler);*/
10181019
sleep(1);

0 commit comments

Comments
 (0)