|
Raspberry Pio Pico Drivers project
|
Mock class for test. More...
#include <adau1361.hpp>


Public Member Functions | |
| MockAdau1361 (Adau1361Lower &adau1361_lower) | |
| MOCK_METHOD0 (Start, void(void)) | |
| MOCK_METHOD3 (SetGain, void(CodecChannel channel, float left_gain, float right_gain)) | |
| MOCK_METHOD2 (Mute, void(CodecChannel channel, bool mute)) | |
| MOCK_METHOD1 (Mute, void(CodecChannel channel)) | |
Public Member Functions inherited from rpp_driver::Adau1361 | |
| Adau1361 (unsigned int fs, unsigned int master_clock, Adau1361Lower &adau1361_lower) | |
| constructor. | |
| virtual void | Start (void) |
| Set up the ADAU1361 codec, and then, start the codec. | |
| virtual void | SetGain (CodecChannel channel, float left_gain, float right_gain) |
| Set channel gain. | |
| virtual void | Mute (CodecChannel channel, bool mute=true) |
| Mute the specific channel. | |
Additional Inherited Members | |
Public Types inherited from rpp_driver::Adau1361 | |
| enum | CodecChannel { LineInput , AuxInput , LineOutput , HeadphoneOutput } |
| Signal path definition. More... | |
Mock class for test.