From 8742ce7c3e92a57cde47481281a4928f8d41a771 Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Tue, 5 Jun 2007 22:44:36 +0000 Subject: Experiemental code for alsa plugin and ipc. --- audio/ipc.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'audio/ipc.h') diff --git a/audio/ipc.h b/audio/ipc.h index e6859a50..0cd9e620 100644 --- a/audio/ipc.h +++ b/audio/ipc.h @@ -40,10 +40,10 @@ /* Packet types */ #define PKT_TYPE_CFG_REQ 0 #define PKT_TYPE_CFG_RSP 1 -#define PKT_TYPE_STATUS_REQ 3 -#define PKT_TYPE_STATUS_RSP 4 -#define PKT_TYPE_CTL_REQ 5 -#define PKT_TYPE_CTL_RSP 6 +#define PKT_TYPE_STATUS_REQ 2 +#define PKT_TYPE_STATUS_RSP 3 +#define PKT_TYPE_CTL_REQ 4 +#define PKT_TYPE_CTL_RSP 5 /* Errors codes */ #define PKT_ERROR_NONE 0 @@ -68,6 +68,8 @@ struct ipc_data_cfg { uint8_t encoding; /* Stream encoding */ uint8_t bitpool; /* Encoding bitpool */ uint8_t channels; /* Number of audio channel */ + uint8_t pkt_len; /* Stream packet length */ + uint8_t sample_size; /* Sample size in bytes */ uint16_t rate; /* Stream sample rate */ } __attribute__ ((packed)); -- cgit