1 /* 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_ENCODER_ISAC_H_ 12 #define API_AUDIO_CODECS_ISAC_AUDIO_ENCODER_ISAC_H_ 13 14 #if WEBRTC_USE_BUILTIN_ISAC_FIX && !WEBRTC_USE_BUILTIN_ISAC_FLOAT 15 #include "api/audio_codecs/isac/audio_encoder_isac_fix.h" // nogncheck 16 #elif WEBRTC_USE_BUILTIN_ISAC_FLOAT && !WEBRTC_USE_BUILTIN_ISAC_FIX 17 #include "api/audio_codecs/isac/audio_encoder_isac_float.h" // nogncheck 18 #else 19 #error "Must choose either fix or float" 20 #endif 21 22 namespace webrtc { 23 24 #if WEBRTC_USE_BUILTIN_ISAC_FIX 25 using AudioEncoderIsac = AudioEncoderIsacFix; 26 #elif WEBRTC_USE_BUILTIN_ISAC_FLOAT 27 using AudioEncoderIsac = AudioEncoderIsacFloat; 28 #endif 29 30 } // namespace webrtc 31 32 #endif // API_AUDIO_CODECS_ISAC_AUDIO_ENCODER_ISAC_H_ 33