Files
MuditaOS/module-audio/Audio/Operation/IdleOperation.cpp
Lefucjusz 773f2c7eb1 [BH-2069] Update license URL in headers
Update outdated license file URL in
license headers across all project.
2024-09-18 11:53:01 +02:00

27 lines
724 B
C++

// Copyright (c) 2017-2024, Mudita Sp. z.o.o. All rights reserved.
// For licensing, see https://github.com/mudita/MuditaOS/blob/master/LICENSE.md
#include "IdleOperation.hpp"
#include "Audio/Profiles/ProfileIdle.hpp"
namespace audio
{
IdleOperation::IdleOperation([[maybe_unused]] const std::string &filePath) : Operation(nullptr)
{
supportedProfiles.emplace_back(Profile::Create(Profile::Type::Idle), true);
currentProfile = supportedProfiles[0].profile;
}
audio::RetCode IdleOperation::SetOutputVolume(float vol)
{
return RetCode::Success;
}
audio::RetCode IdleOperation::SetInputGain(float gain)
{
return RetCode::Success;
}
} // namespace audio