First commit
This commit is contained in:
14
module_usb_aud_shared/codec/codec.h
Normal file
14
module_usb_aud_shared/codec/codec.h
Normal file
@@ -0,0 +1,14 @@
|
||||
#ifndef _CODEC_H_
|
||||
#define _CODEC_H_
|
||||
|
||||
/* These functions must be implemented for the CODEC/ADC/DAC arrangement of a specific design */
|
||||
|
||||
/* TODO Are the channel args required? */
|
||||
|
||||
/* Any required CODEC initialisation - run once at start up */
|
||||
void CodecInit(chanend ?c_codec);
|
||||
|
||||
/* Configure condec for a specific mClk/Sample frquency - run on every sample frequency change */
|
||||
void CodecConfig(unsigned samFreq, unsigned mClk, chanend ?c_codec);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user