1######################################################################################################## 2# (Optional) The supported features list for platform vendors to query from. 3# Platform vendors should call maxxaudio_qdsp_is_feature_supported with a string to query from the list. 4# This config has no effect in the MaxxAudioQdspHalController. It's only meaningful for platform vendors. 5# Putting any value other than 1 would be equivalent to not supported. 6######################################################################################################## 7[HAL_SUPPORTED_FEATURES] 8CUSTOM_ACTION_261=1 9 10######################################################################################################## 11# This defined the options of supported sample rates. 12# This can be configured by Waves or platform vendor. 13######################################################################################################## 14[HAL_SUPPORTED_SAMPLE_RATES] 15SR_COMMON = 48000 16 17######################################################################################################## 18# (Optional) The subtypes that applies to different angles(0, 90, 180, 270). Can be empty if not applicable. 19# This can be configured by Waves or platform vendor. 20######################################################################################################## 21[HAL_ORIENTATION_SUBTYPES] 22OST_SPEAKER = 0:12,90:13,180:12,270:13 23 24######################################################################################################## 25# This defines available preset configurations. 26# This should be configured by Waves only unless platform vendor is familiar with MPS structure. 27######################################################################################################## 28[HAL_SUPPORTED_PRESETS] 29SPEAKER_MUSIC_FOLDED = OM:1,SM:2,OST:OST_SPEAKER 30SPEAKER_MUSIC_UNFOLDED = OM:9,SM:2,OST:OST_SPEAKER 31SPEAKER_MUSIC_CLAMSHELL = OM:60,SM:2,OST:OST_SPEAKER 32# _RESERVED OM and SM are temporary and will be updated with tuning file. 33 34######################################################################################################## 35# This defines available CONTROL configurations. Only define the CONTROL if you need it. 36# The numbers could vary from device to device. 37# This can be configured by Waves or platform vendor. 38######################################################################################################## 39[HAL_SUPPORTED_CONTROLS] 40SPEAKER_INSTANCE = INSTANCE:1,DEV:1,SR:SR_COMMON,PRESET:SPEAKER_MUSIC_FOLDED|SPEAKER_MUSIC_UNFOLDED|SPEAKER_MUSIC_CLAMSHELL 41 42[MAXXEFFECT_SETTING] 43MaxxEffectLibPath=/vendor/lib/libNX_Google_Pixel_Android.so 44MaxxEffectLibPath64=/vendor/lib64/libNX_Google_Pixel_Android.so 45#IN_SampleRate=48000 46IN_NumChannels=6 47#IN_SamplesFormat=3 48#IN_SamplesLayout=0 49#IN_FrameSize=4 50#OUT_SampleRate=48000 51#OUT_NumChannels=2 52#OUT_SamplesFormat=3 53#OUT_SamplesLayout=0 54#OUT_FrameSize=4 55 56[CUSTOM_ACTION_261] 57CASE_1=PRIORITY:0,NUMBERS:0|3,PRESET:SPEAKER_MUSIC_FOLDED 58CASE_2=PRIORITY:1,NUMBERS:1,PRESET:SPEAKER_MUSIC_CLAMSHELL 59CASE_3=PRIORITY:2,NUMBERS:2,PRESET:SPEAKER_MUSIC_UNFOLDED 60 61# Action 261 parameters: folded_type_t 62# - folded_type_t: 0 - Close, 1 -Clamshell, 2 - Open, 3 - unknown 63