#ifndef DRV_I2S_H
#define DRV_I2S_H
+#warning __FILTER_NEXT_WARNING__
#warning This API is ALPHA! we could change it..
#include <cfg/compiler.h>
}
+INLINE void i2s_dmaTxWait(I2s *i2s)
+{
+ ASSERT(i2s->ctx.tx_wait);
+ i2s->ctx.tx_wait(i2s);
+}
+
+
INLINE void i2s_dmaStartTxStreaming(I2s *i2s, void *buf, size_t len, size_t slice_len, i2s_dma_callback_t callback)
{
ASSERT(i2s->ctx.tx_start);