forked from PAWPAW-Mirror/lib_xua
Added control channel for buffering for lower-power, non-memory polling buffering
This commit is contained in:
@@ -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__
|
||||
|
||||
Reference in New Issue
Block a user