Skip to content

Commit 6458b71

Browse files
committed
Add jack and PCM event types
1 parent 5251ec6 commit 6458b71

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

virtio-snd.c

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,14 @@ enum {
4848
/* channel map control requests types */
4949
VIRTIO_SND_R_CHMAP_INFO = 0x0200,
5050

51+
/* jack event types */
52+
VIRTIO_SND_EVT_JACK_CONNECTED = 0x1000,
53+
VIRTIO_SND_EVT_JACK_DISCONNECTED,
54+
55+
/* PCM event types */
56+
VIRTIO_SND_EVT_PCM_PERIOD_ELAPSED = 0x1100,
57+
VIRTIO_SND_EVT_PCM_XRUN,
58+
5159
/* common status codes */
5260
VIRTIO_SND_S_OK = 0x8000,
5361
VIRTIO_SND_S_BAD_MSG,

0 commit comments

Comments
 (0)