| # Modified from device/ti/panda version. |
| |
| global_configuration { |
| attached_output_devices AUDIO_DEVICE_OUT_SPEAKER |
| default_output_device AUDIO_DEVICE_OUT_SPEAKER |
| attached_input_devices AUDIO_DEVICE_IN_BUILTIN_MIC |
| } |
| |
| audio_hw_modules { |
| primary { |
| outputs { |
| primary { |
| sampling_rates 48000 |
| channel_masks AUDIO_CHANNEL_OUT_STEREO |
| formats AUDIO_FORMAT_PCM_16_BIT |
| devices AUDIO_DEVICE_OUT_EARPIECE|AUDIO_DEVICE_OUT_SPEAKER|AUDIO_DEVICE_OUT_WIRED_HEADSET|AUDIO_DEVICE_OUT_WIRED_HEADPHONE|AUDIO_DEVICE_OUT_ALL_SCO|AUDIO_DEVICE_OUT_AUX_DIGITAL|AUDIO_DEVICE_OUT_DGTL_DOCK_HEADSET |
| flags AUDIO_OUTPUT_FLAG_PRIMARY |
| } |
| } |
| inputs { |
| primary { |
| sampling_rates 48000 |
| channel_masks AUDIO_CHANNEL_IN_MONO|AUDIO_CHANNEL_IN_STEREO |
| formats AUDIO_FORMAT_PCM_16_BIT |
| devices AUDIO_DEVICE_IN_BUILTIN_MIC|AUDIO_DEVICE_IN_WIRED_HEADSET |
| } |
| } |
| } |
| } |