mirror of https://github.com/thesofproject/sof.git
ipc: align stream.h with kernel
This change is to align sof_ipc_stream_params with its kernel equivalent. The change is needed in both kernel and FW because FW needs to use host_period_bytes which where previously used to inform host about period IRQ. Therefore now we introduce new member for it period_irq and let host_period_bytes keep the proper value. Signed-off-by: Marcin Rajwa <marcin.rajwa@linux.intel.com>
This commit is contained in:
parent
9bacb24725
commit
6119126d90
|
@ -91,10 +91,10 @@ struct sof_ipc_stream_params {
|
|||
uint16_t sample_valid_bytes;
|
||||
uint16_t sample_container_bytes;
|
||||
|
||||
/* for notifying host period has completed - 0 means no period IRQ */
|
||||
uint32_t host_period_bytes;
|
||||
uint16_t no_period_irq; /* 1 means period IRQ mode OFF */
|
||||
|
||||
uint32_t reserved[2];
|
||||
uint16_t reserved[3];
|
||||
uint16_t chmap[SOF_IPC_MAX_CHANNELS]; /**< channel map - SOF_CHMAP_ */
|
||||
} __attribute__((packed));
|
||||
|
||||
|
|
Loading…
Reference in New Issue