mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-07-04 13:17:08 -04:00
32 lines
711 B
C++
32 lines
711 B
C++
/*
|
|
* @file IdleOperation.cpp
|
|
* @author Mateusz Piesta (mateusz.piesta@mudita.com)
|
|
* @date 25.07.19
|
|
* @brief
|
|
* @copyright Copyright (C) 2019 mudita.com
|
|
* @details
|
|
*/
|
|
|
|
|
|
|
|
#include "IdleOperation.hpp"
|
|
|
|
namespace audio {
|
|
|
|
IdleOperation::IdleOperation([[maybe_unused]] const char *file) {
|
|
//TODO: M.P switch off audio PLL here
|
|
isInitialized = true;
|
|
}
|
|
|
|
IdleOperation::~IdleOperation() {
|
|
//TODO: M.P switch on audio PLL here
|
|
}
|
|
|
|
int32_t IdleOperation::SetOutputVolume(float vol) {
|
|
return static_cast<int32_t >(RetCode::Success);
|
|
}
|
|
|
|
int32_t IdleOperation::SetInputGain(float gain) {
|
|
return static_cast<int32_t >(RetCode::Success);
|
|
}
|
|
} |