First Publish. Works fine.
Dependents: unzen_sample_lpcxpresso_4337_callbacks
Diff: unzen.cpp
- Revision:
- 8:63e098b779e9
- Parent:
- 6:df928d55613b
- Child:
- 9:2da6ce640691
--- a/unzen.cpp Sat May 07 21:17:40 2016 +0000 +++ b/unzen.cpp Sun May 08 02:15:29 2016 +0000 @@ -288,8 +288,34 @@ } - - + codec_class::codec_class( I2C * controler, Fs_Type Fs, unsigned int Addr ) + { + i2c = controler; + fs = Fs; + addr = Addr<<1; // Justify to right to use mbed library + } + + void codec_class::set_line_input_gain(float left_gain, float right_gain, bool mute) + { + } + + void codec_class::set_aux_input_gain(float left_gain, float right_gain, bool mute) + { + } + + void codec_class::set_mic_input_gain(float left_gain, float right_gain, bool mute) + { + } + + void codec_class::set_line_output_gain(float left_gain, float right_gain, bool mute) + { + } + + void codec_class::set_hp_output_gain(float left_gain, float right_gain, bool mute) + { + } + + }