chromium/media/mojo/mojom/encoded_audio_buffer_traits.h

// Copyright 2021 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_ENCODED_AUDIO_BUFFER_TRAITS_H_
#define MEDIA_MOJO_MOJOM_ENCODED_AUDIO_BUFFER_TRAITS_H_

#include "media/base/audio_encoder.h"
#include "media/base/ipc/media_param_traits.h"
#include "media/mojo/mojom/audio_encoder.mojom.h"
#include "media/mojo/mojom/media_types.mojom.h"

namespace mojo {

template <>
struct StructTraits<media::mojom::EncodedAudioBufferDataView,
                    media::EncodedAudioBuffer> {};

}  // namespace mojo

#endif  // MEDIA_MOJO_MOJOM_ENCODED_AUDIO_BUFFER_TRAITS_H_