1#
2# Copyright (C) 2015 The Android Open Source Project
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8#      http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15#
16
17audio_hw_modules {
18primary {
19global_configuration {
20      attached_output_devices AUDIO_DEVICE_OUT_SPEAKER
21      attached_input_devices AUDIO_DEVICE_IN_BUILTIN_MIC
22    }
23    outputs {
24      primary {
25        sampling_rates 48000
26        channel_masks AUDIO_CHANNEL_OUT_STEREO
27        formats AUDIO_FORMAT_PCM_16_BIT
28        devices AUDIO_DEVICE_OUT_SPEAKER|AUDIO_DEVICE_OUT_WIRED_HEADSET|AUDIO_DEVICE_OUT_WIRED_HEADPHONE|AUDIO_DEVICE_OUT_ALL_SCO|AUDIO_DEVICE_OUT_LINE
29        flags AUDIO_OUTPUT_FLAG_PRIMARY
30      }
31    }
32    inputs {
33      primary {
34        sampling_rates 8000|11025|12000|16000|22050|24000|32000|44100|48000
35        channel_masks AUDIO_CHANNEL_IN_MONO|AUDIO_CHANNEL_IN_STEREO
36        formats AUDIO_FORMAT_PCM_16_BIT
37        devices AUDIO_DEVICE_IN_BUILTIN_MIC|AUDIO_DEVICE_IN_WIRED_HEADSET|AUDIO_DEVICE_IN_BLUETOOTH_SCO_HEADSET
38      }
39    }
40  }
41
42}
43