Raspberry Pio Pico Drivers project
Loading...
Searching...
No Matches
Public Member Functions
rpp_driver::MockAdau1361 Class Reference

Mock class for test. More...

#include <adau1361.hpp>

Inheritance diagram for rpp_driver::MockAdau1361:
Inheritance graph
[legend]
Collaboration diagram for rpp_driver::MockAdau1361:
Collaboration graph
[legend]

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...
 

Detailed Description

Mock class for test.


The documentation for this class was generated from the following file: