mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-07-29 09:18:43 -04:00
27 lines
690 B
C++
27 lines
690 B
C++
// Copyright (c) 2017-2020, Mudita Sp. z.o.o. All rights reserved.
|
|
// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md
|
|
|
|
#include "IdleOperation.hpp"
|
|
|
|
#include "Audio/Profiles/ProfileIdle.hpp"
|
|
|
|
namespace audio
|
|
{
|
|
|
|
IdleOperation::IdleOperation([[maybe_unused]] const char *file) : Operation{true}
|
|
{
|
|
availableProfiles.push_back(Profile::Create(Profile::Type::Idle, nullptr));
|
|
currentProfile = availableProfiles[0];
|
|
}
|
|
|
|
audio::RetCode IdleOperation::SetOutputVolume(float vol)
|
|
{
|
|
return RetCode::Success;
|
|
}
|
|
|
|
audio::RetCode IdleOperation::SetInputGain(float gain)
|
|
{
|
|
return RetCode::Success;
|
|
}
|
|
} // namespace audio
|