Change parser strings to include length.
[bertos.git] / bertos / drv / i2s.h
index 3ad4522e8d7983056eb0900789ebcef69c6c9d67..8758cb0080cb7e2a18e0340743495214603c1893 100644 (file)
@@ -48,6 +48,7 @@
 #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>
@@ -145,6 +146,13 @@ INLINE void i2s_dmaRxBuffer(I2s *i2s, void *buf, size_t len)
 }
 
 
+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);