chromium/media/mojo/mojom/audio_processing_mojom_traits.h

// Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef MEDIA_MOJO_MOJOM_AUDIO_PROCESSING_MOJOM_TRAITS_H_
#define MEDIA_MOJO_MOJOM_AUDIO_PROCESSING_MOJOM_TRAITS_H_

#include "media/base/audio_processing.h"
#include "media/base/audio_processor_controls.h"
#include "media/mojo/mojom/audio_processing.mojom-shared.h"
#include "mojo/public/cpp/bindings/struct_traits.h"

namespace mojo {

template <>
struct StructTraits<media::mojom::AudioProcessingStatsDataView,
                    media::AudioProcessingStats> {};

template <>
struct StructTraits<media::mojom::AudioProcessingSettingsDataView,
                    media::AudioProcessingSettings> {};

}  // namespace mojo

#endif  // MEDIA_MOJO_MOJOM_AUDIO_PROCESSING_MOJOM_TRAITS_H_