Added DSDMode enum

This commit is contained in:
Ross Owen
2013-10-24 10:51:17 +01:00
parent 60c04400ac
commit 1281963a55
2 changed files with 11 additions and 4 deletions

View File

@@ -1,6 +1,8 @@
#ifndef _CODEC_H_
#define _CODEC_H_
#include "dsd.h"
/* These functions must be implemented for the CODEC/ADC/DAC arrangement of a specific design */
/* TODO Are the channel args required? */
@@ -9,6 +11,6 @@
void AudioHwInit(chanend ?c_codec);
/* Configure audio hardware (clocking, CODECs etc) for a specific mClk/Sample frquency - run on every sample frequency change */
void AudioHwConfig(unsigned samFreq, unsigned mClk, chanend ?c_codec, int dsdMode);
void AudioHwConfig(unsigned samFreq, unsigned mClk, chanend ?c_codec, DsdMode dsdMode);
#endif