blob: 08dbe788afc2bf5eaecc00e4e1b429caee900666 [file] [log] [blame]
Karl Wiberg98900742018-03-01 11:03:491/*
2 * Copyright (c) 2018 The WebRTC project authors. All Rights Reserved.
3 *
4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree.
9 */
10
11#include "api/audio_codecs/audio_decoder_factory.h"
12
13namespace webrtc {
14
15std::unique_ptr<AudioDecoder> AudioDecoderFactory::MakeAudioDecoder(
16 const SdpAudioFormat& format,
17 rtc::Optional<AudioCodecPairId> codec_pair_id) {
18 return MakeAudioDecoder(format);
19}
20
21std::unique_ptr<AudioDecoder> AudioDecoderFactory::MakeAudioDecoder(
22 const SdpAudioFormat& format) {
23 return MakeAudioDecoder(format, rtc::nullopt);
24}
25
26} // namespace webrtc