1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16

media / mojo / common / input_error_code_converter.h [blame]

// 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_COMMON_INPUT_ERROR_CODE_CONVERTER_H_
#define MEDIA_MOJO_COMMON_INPUT_ERROR_CODE_CONVERTER_H_

#include "media/base/audio_capturer_source.h"
#include "media/mojo/mojom/media_types.mojom.h"

namespace media {
AudioCapturerSource::ErrorCode ConvertToCaptureCallbackCode(
    mojom::InputStreamErrorCode code);
}

#endif  // MEDIA_MOJO_COMMON_INPUT_ERROR_CODE_CONVERTER_H_