summaryrefslogtreecommitdiffstats
path: root/services/audioflinger/Configuration.h
blob: 0754d9d6a3803266788347389d88ffe2e9b33013 (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
43
44
/*
 * Copyright (C) 2013 The Android Open Source Project
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

// Put build-time configuration options here rather than Android.mk,
// so that the instantiate for AudioFlinger service will pick up the same options.

#ifndef ANDROID_AUDIOFLINGER_CONFIGURATION_H
#define ANDROID_AUDIOFLINGER_CONFIGURATION_H

// uncomment to enable detailed battery usage reporting (not debugged)
//#define ADD_BATTERY_DATA

// uncomment to enable the audio watchdog
//#define AUDIO_WATCHDOG

// uncomment to display CPU load adjusted for CPU frequency
//#define CPU_FREQUENCY_STATISTICS

// uncomment to enable fast mixer to take performance samples for later statistical analysis
#define FAST_MIXER_STATISTICS

// uncomment for debugging timing problems related to StateQueue::push()
//#define STATE_QUEUE_DUMP

// uncomment to allow tee sink debugging to be enabled by property
//#define TEE_SINK

// uncomment to log CPU statistics every n wall clock seconds
//#define DEBUG_CPU_USAGE 10

#endif // ANDROID_AUDIOFLINGER_CONFIGURATION_H