summaryrefslogtreecommitdiff
path: root/chromium/media/audio/audio_features.h
blob: 17b96b0ae0d8927d11114a64a73482bdb99a9911 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
// Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef MEDIA_AUDIO_AUDIO_FEATURES_H_
#define MEDIA_AUDIO_AUDIO_FEATURES_H_

#include "base/feature_list.h"
#include "build/build_config.h"
#include "media/base/media_export.h"

namespace features {

MEDIA_EXPORT extern const base::Feature kAudioServiceOutOfProcessKillAtHang;
MEDIA_EXPORT extern const base::Feature kDumpOnAudioServiceHang;

#if BUILDFLAG(IS_ANDROID)
MEDIA_EXPORT extern const base::Feature kUseAAudioDriver;
#endif

#if BUILDFLAG(IS_CHROMEOS)
MEDIA_EXPORT extern const base::Feature kCrOSSystemAEC;
MEDIA_EXPORT extern const base::Feature kCrOSSystemAECDeactivatedGroups;
MEDIA_EXPORT extern const base::Feature kCrOSEnforceSystemAecNsAgc;
MEDIA_EXPORT extern const base::Feature kCrOSEnforceSystemAecNs;
MEDIA_EXPORT extern const base::Feature kCrOSEnforceSystemAecAgc;
MEDIA_EXPORT extern const base::Feature kCrOSEnforceSystemAec;
MEDIA_EXPORT extern const base::Feature kCrOSDspBasedAecDeactivatedGroups;
MEDIA_EXPORT extern const base::Feature kCrOSDspBasedNsDeactivatedGroups;
MEDIA_EXPORT extern const base::Feature kCrOSDspBasedAgcDeactivatedGroups;
MEDIA_EXPORT extern const base::Feature kCrOSDspBasedAecAllowed;
MEDIA_EXPORT extern const base::Feature kCrOSDspBasedNsAllowed;
MEDIA_EXPORT extern const base::Feature kCrOSDspBasedAgcAllowed;
#endif

#if BUILDFLAG(IS_WIN)
MEDIA_EXPORT extern const base::Feature kAllowIAudioClient3;
#endif

}  // namespace features

#endif  // MEDIA_AUDIO_AUDIO_FEATURES_H_