mirror of https://github.com/thesofproject/sof.git
Lib: Dai-legacy: Add chmap and channel_copy members to struct dai_data
This avoids compile error in copier.c: sof/src/audio/copier/copier.c:692:34: error: ‘struct dai_data’ has no member named ‘chmap’ and in copier-dai.c: sof/src/audio/copier/copier_dai.c:550:34: error: ‘struct dai_data’ has no member named ‘channel_copy’ Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
This commit is contained in:
parent
6abe40263d
commit
dc0a3513c4
|
@ -163,6 +163,10 @@ struct llp_slot_info {
|
||||||
uint32_t reg_offset;
|
uint32_t reg_offset;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
typedef int (*channel_copy_func)(const struct audio_stream *src, unsigned int src_channel,
|
||||||
|
struct audio_stream *dst, unsigned int dst_channel,
|
||||||
|
unsigned int frames);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \brief DAI runtime data
|
* \brief DAI runtime data
|
||||||
*/
|
*/
|
||||||
|
@ -181,6 +185,11 @@ struct dai_data {
|
||||||
int xrun; /* true if we are doing xrun recovery */
|
int xrun; /* true if we are doing xrun recovery */
|
||||||
|
|
||||||
pcm_converter_func process; /* processing function */
|
pcm_converter_func process; /* processing function */
|
||||||
|
uint32_t chmap;
|
||||||
|
channel_copy_func channel_copy; /* channel copy func used by multi-endpoint
|
||||||
|
* gateway to mux/demux stream from/to multiple
|
||||||
|
* DMA buffers
|
||||||
|
*/
|
||||||
|
|
||||||
uint32_t period_bytes; /* number of bytes per one period */
|
uint32_t period_bytes; /* number of bytes per one period */
|
||||||
uint64_t total_data_processed;
|
uint64_t total_data_processed;
|
||||||
|
|
Loading…
Reference in New Issue