blob: 21e17d083be9a85b845292ede26f404b3c3accfa [file] [log] [blame]
// Copyright 2019 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef SRC_MEDIA_AUDIO_AUDIO_CORE_POLICY_LOADER_H_
#define SRC_MEDIA_AUDIO_AUDIO_CORE_POLICY_LOADER_H_
#include <fuchsia/media/cpp/fidl.h>
#include <rapidjson/document.h>
#include "src/media/audio/audio_core/audio_policy.h"
namespace media {
namespace audio {
class PolicyLoader {
public:
static AudioPolicy LoadPolicy();
static fit::result<AudioPolicy> ParseConfig(const char* file_body);
};
} // namespace audio
} // namespace media
#endif // SRC_MEDIA_AUDIO_AUDIO_CORE_POLICY_LOADER_H_