Added control channel for buffering for lower-power, non-memory polling buffering

This commit is contained in:
Ross Owen
2013-07-09 15:48:26 +01:00
parent dea24e07fe
commit 1bd8744dc2
4 changed files with 36 additions and 30 deletions

View File

@@ -1,22 +1,18 @@
#ifndef __decouple_h__
#define __decouple_h__
#ifndef __DECOUPLE_H__
#define __DECOUPLE_H__
/** Manage the data transfer between the USB audio buffer and the
* Audio I/O driver.
*
* \param c_audio_out Channel connected to the audio() or mixer() threads
* \param c_led Optional chanend connected to an led driver thread for
* debugging purposes
* \param c_midi Optional chanend connect to usb_midi() thread if present
* \param c_clk_int Optional chanend connected to the clockGen() thread if present
*/
void decouple(chanend c_audio_out,
// chanend ?c_midi,
chanend ?c_clk_int
//#ifdef IAP
//, chanend ?c_iap
//#endif
#ifdef CHAN_BUFF_CTRL
, chanend c_buff_ctrl
#endif
);
#endif // __decouple_h__
#endif // __DECOUPLE_H__