audio_features.h 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  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. #ifndef MEDIA_AUDIO_AUDIO_FEATURES_H_
  5. #define MEDIA_AUDIO_AUDIO_FEATURES_H_
  6. #include "base/feature_list.h"
  7. #include "build/build_config.h"
  8. #include "media/base/media_export.h"
  9. namespace features {
  10. MEDIA_EXPORT extern const base::Feature kAudioServiceOutOfProcessKillAtHang;
  11. MEDIA_EXPORT extern const base::Feature kDumpOnAudioServiceHang;
  12. #if BUILDFLAG(IS_ANDROID)
  13. MEDIA_EXPORT extern const base::Feature kUseAAudioDriver;
  14. #endif
  15. #if BUILDFLAG(IS_CHROMEOS)
  16. MEDIA_EXPORT extern const base::Feature kCrOSSystemAEC;
  17. MEDIA_EXPORT extern const base::Feature kCrOSSystemAECDeactivatedGroups;
  18. MEDIA_EXPORT extern const base::Feature kCrOSEnforceSystemAecNsAgc;
  19. MEDIA_EXPORT extern const base::Feature kCrOSEnforceSystemAecNs;
  20. MEDIA_EXPORT extern const base::Feature kCrOSEnforceSystemAecAgc;
  21. MEDIA_EXPORT extern const base::Feature kCrOSEnforceSystemAec;
  22. MEDIA_EXPORT extern const base::Feature kCrOSDspBasedAecDeactivatedGroups;
  23. MEDIA_EXPORT extern const base::Feature kCrOSDspBasedNsDeactivatedGroups;
  24. MEDIA_EXPORT extern const base::Feature kCrOSDspBasedAgcDeactivatedGroups;
  25. MEDIA_EXPORT extern const base::Feature kCrOSDspBasedAecAllowed;
  26. MEDIA_EXPORT extern const base::Feature kCrOSDspBasedNsAllowed;
  27. MEDIA_EXPORT extern const base::Feature kCrOSDspBasedAgcAllowed;
  28. #endif
  29. #if BUILDFLAG(IS_WIN)
  30. MEDIA_EXPORT extern const base::Feature kAllowIAudioClient3;
  31. #endif
  32. } // namespace features
  33. #endif // MEDIA_AUDIO_AUDIO_FEATURES_H_