1 // Copyright 2016 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #ifndef MEDIA_AUDIO_AUDIO_FEATURES_H_ 6 #define MEDIA_AUDIO_AUDIO_FEATURES_H_ 7 8 #include "base/feature_list.h" 9 #include "build/build_config.h" 10 #include "build/chromeos_buildflags.h" 11 #include "media/base/media_export.h" 12 13 namespace features { 14 15 MEDIA_EXPORT extern const base::Feature kAudioServiceOutOfProcessKillAtHang; 16 MEDIA_EXPORT extern const base::Feature kDumpOnAudioServiceHang; 17 18 #if defined(OS_ANDROID) 19 MEDIA_EXPORT extern const base::Feature kUseAAudioDriver; 20 #endif 21 22 #if BUILDFLAG(IS_ASH) || BUILDFLAG(IS_LACROS) 23 MEDIA_EXPORT extern const base::Feature kCrOSSystemAEC; 24 MEDIA_EXPORT extern const base::Feature kCrOSSystemAECDeactivatedGroups; 25 #endif 26 27 #if defined(OS_MAC) || BUILDFLAG(IS_ASH) 28 MEDIA_EXPORT extern const base::Feature kForceEnableSystemAec; 29 #endif 30 31 #if defined(OS_WIN) 32 MEDIA_EXPORT extern const base::Feature kAllowIAudioClient3; 33 #endif 34 35 } // namespace features 36 37 #endif // MEDIA_AUDIO_AUDIO_FEATURES_H_ 38