|
Sound Open Firmware
|
Synchronisation of an audio stream with the state of its DMA buffer. More...

Go to the source code of this file.
Functions | |
| static void | audio_stream_sync_to_hw (struct audio_stream *stream, const struct dma_status *dma_status) |
| Replicates the hardware state of the DMA buffer as a struct audio_stream. | |
Synchronisation of an audio stream with the state of its DMA buffer.
Kept separate from sof/audio/audio_stream.h because it needs the Zephyr DMA driver definitions, which most users of the audio stream API do not. Only available in Zephyr builds.
|
inlinestatic |
Replicates the hardware state of the DMA buffer as a struct audio_stream.
| stream | Stream to update. |
| dma_status | DMA buffer hardware state (struct dma_status from Zephyr). |