blob: f4e9331282be9a00f89f23696d5b6665fdbee48d [file] [log] [blame]
Karl Wiberg735a8382017-10-05 11:00:38 +02001/*
2 * Copyright (c) 2017 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#ifndef API_AUDIO_CODECS_ISAC_AUDIO_DECODER_ISAC_H_
12#define API_AUDIO_CODECS_ISAC_AUDIO_DECODER_ISAC_H_
13
14#if WEBRTC_USE_BUILTIN_ISAC_FIX && !WEBRTC_USE_BUILTIN_ISAC_FLOAT
15#include "api/audio_codecs/isac/audio_decoder_isac_fix.h" // nogncheck
16#elif WEBRTC_USE_BUILTIN_ISAC_FLOAT && !WEBRTC_USE_BUILTIN_ISAC_FIX
17#include "api/audio_codecs/isac/audio_decoder_isac_float.h" // nogncheck
18#else
19#error "Must choose either fix or float"
20#endif
21
22namespace webrtc {
23
24#if WEBRTC_USE_BUILTIN_ISAC_FIX
25using AudioDecoderIsac = AudioDecoderIsacFix;
26#elif WEBRTC_USE_BUILTIN_ISAC_FLOAT
27using AudioDecoderIsac = AudioDecoderIsacFloat;
28#endif
29
30} // namespace webrtc
31
32#endif // API_AUDIO_CODECS_ISAC_AUDIO_DECODER_ISAC_H_