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_258=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:0|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_THROTTLE= OM:1,SM:2,OST:OST_SPEAKER 30SPEAKER_SAFE_MUSIC_THROTTLE = OM:10,SM:2,OST:OST_SPEAKER 31SPEAKER_SAFE_CALL_THROTTLE = OM:10,SM:2,OST:OST_SPEAKER 32SPEAKER_MUSIC = OM:1,SM:2,OST:OST_SPEAKER 33SPEAKER_SAFE_MUSIC = OM:10,SM:2,OST:OST_SPEAKER 34SPEAKER_SAFE_CALL = OM:10,SM:2,OST:OST_SPEAKER 35HEADSET_MUSIC = OM:2,SM:2 36 37######################################################################################################## 38# This defines available CONTROL configurations. Only define the CONTROL if you need it. 39# The numbers could vary from device to device. 40# This can be configured by Waves or platform vendor. 41######################################################################################################## 42[HAL_SUPPORTED_CONTROLS] 43SPEAKER_INSTANCE = INSTANCE:1,DEV:0,SR:SR_COMMON,PRESET:SPEAKER_MUSIC|SPEAKER_SAFE_MUSIC|SPEAKER_SAFE_CALL|SPEAKER_MUSIC_THROTTLE|SPEAKER_SAFE_MUSIC_THROTTLE|SPEAKER_SAFE_CALL_THROTTLE 44A2DP_INSTANCE = INSTANCE:2,DEV:0,SR:SR_COMMON,PRESET:HEADSET_MUSIC 45USB_HEADPHONE_INSTANCE = INSTANCE:4,DEV:0,SR:SR_COMMON,PRESET:HEADSET_MUSIC 46 47[COEFS_CONVERTER_SETTING] 48AlgFxPath=/vendor/lib/libAlgFx_HiFi3z.so 49AlgFxPath64=/vendor/lib64/libAlgFx_HiFi3z.so 50# do not modify the following if not necessary 51#AudioFormatType=0 52#AudioFormatChannels=2 53#AudioFormatSampleRate=48000 54#AudioFormatBitsPerSample=32 55#AudioFormatSampleSize=4 56#AudioFormatIncrement=8 57 58[CUSTOM_ACTION_258] 59CASE_1=PRIORITY:0,NUMBERS:2:0|1:0,PRESET:SPEAKER_MUSIC 60CASE_2=PRIORITY:1,NUMBERS:1|2|4194304:2|3|4:0,PRESET:SPEAKER_SAFE_CALL 61CASE_3=PRIORITY:2,NUMBERS:1|4194304:0|1:0,PRESET:SPEAKER_SAFE_MUSIC 62CASE_4=PRIORITY:3,NUMBERS:2:0|1:4,PRESET:SPEAKER_MUSIC_THROTTLE 63CASE_5=PRIORITY:4,NUMBERS:1|2|4194304:2|3|4:4,PRESET:SPEAKER_SAFE_CALL_THROTTLE 64CASE_6=PRIORITY:5,NUMBERS:1|4194304:0|1:4,PRESET:SPEAKER_SAFE_MUSIC_THROTTLE 65