Removed additional code smells
This commit is contained in:
parent
461c007a04
commit
816388d1d2
@ -52,13 +52,13 @@ class DriverManager {
|
|||||||
std::error_code get_number_of_inputs(int32_t& inputs);
|
std::error_code get_number_of_inputs(int32_t& inputs);
|
||||||
std::error_code get_number_of_outputs(int32_t& outputs);
|
std::error_code get_number_of_outputs(int32_t& outputs);
|
||||||
|
|
||||||
int32_t get_current_output_volume() { return output_volume_; };
|
int32_t get_current_output_volume() const { return output_volume_; };
|
||||||
int32_t get_current_output_switch() { return output_switch_; };
|
int32_t get_current_output_switch() const { return output_switch_; };
|
||||||
uint32_t get_current_sample_rate() { return sample_rate_; };
|
uint32_t get_current_sample_rate() const { return sample_rate_; };
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
// singleton, use create to build
|
// singleton, use create to build
|
||||||
DriverManager(){};
|
DriverManager() = default;
|
||||||
|
|
||||||
// these are used in init/terminate
|
// these are used in init/terminate
|
||||||
std::error_code hello();
|
std::error_code hello();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user