Files
MuditaOS/module-audio/Audio/Profiles/ProfileConfigUtils.hpp
Bartosz Cichocki 81052bbcb1 [EGD-8162] Allow importing audio profile settings from json file
This allows for imporing the audio profile setitngs, including
EQ settings from the json file, thus allowing modification of
those setitngs without the need of recompiling the source code.
2022-01-28 10:32:12 +01:00

14 lines
414 B
C++

// Copyright (c) 2017-2022, Mudita Sp. z.o.o. All rights reserved.
// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md
#pragma once
#include <filesystem>
#include <Audio/codec.hpp>
namespace audio
{
[[nodiscard]] const audio::codec::Configuration loadConfigurationFromFile(std::filesystem::path filePath);
const std::string readFile(std::filesystem::path filePath);
} // namespace audio