waves_config.ini 3.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  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]
  8. CUSTOM_ACTION_256=1
  9. ########################################################################################################
  10. # This defined the options of supported sample rates.
  11. # This can be configured by Waves or platform vendor.
  12. ########################################################################################################
  13. [HAL_SUPPORTED_SAMPLE_RATES]
  14. SR_COMMON = 48000
  15. ########################################################################################################
  16. # (Optional) The subtypes that applies to different angles(0, 90, 180, 270). Can be empty if not applicable.
  17. # This can be configured by Waves or platform vendor.
  18. ########################################################################################################
  19. [HAL_ORIENTATION_SUBTYPES]
  20. OST_SPEAKER = 0:12,90:13,180:12,270:0|13
  21. ########################################################################################################
  22. # This defines available preset configurations.
  23. # This should be configured by Waves only unless platform vendor is familiar with MPS structure.
  24. ########################################################################################################
  25. [HAL_SUPPORTED_PRESETS]
  26. SPEAKER_MUSIC = OM:1,SM:2,OST:OST_SPEAKER
  27. SPEAKER_SAFE_MUSIC = OM:10,SM:2,OST:OST_SPEAKER
  28. SPEAKER_SAFE_CALL = OM:10,SM:2,OST:OST_SPEAKER
  29. HEADSET_MUSIC = OM:2,SM:2
  30. ########################################################################################################
  31. # This defines available CONTROL configurations. Only define the CONTROL if you need it.
  32. # The numbers could vary from device to device.
  33. # This can be configured by Waves or platform vendor.
  34. ########################################################################################################
  35. [HAL_SUPPORTED_CONTROLS]
  36. SPEAKER_INSTANCE = INSTANCE:1,DEV:0,SR:SR_COMMON,PRESET:SPEAKER_MUSIC|SPEAKER_SAFE_MUSIC|SPEAKER_SAFE_CALL
  37. A2DP_INSTANCE = INSTANCE:2,DEV:0,SR:SR_COMMON,PRESET:HEADSET_MUSIC
  38. USB_HEADPHONE_INSTANCE = INSTANCE:4,DEV:0,SR:SR_COMMON,PRESET:HEADSET_MUSIC
  39. [COEFS_CONVERTER_SETTING]
  40. AlgFxPath=/vendor/lib/libAlgFx_HiFi3z.so
  41. AlgFxPath64=/vendor/lib64/libAlgFx_HiFi3z.so
  42. # do not modify the following if not necessary
  43. #AudioFormatType=0
  44. #AudioFormatChannels=2
  45. #AudioFormatSampleRate=48000
  46. #AudioFormatBitsPerSample=32
  47. #AudioFormatSampleSize=4
  48. #AudioFormatIncrement=8
  49. [CUSTOM_ACTION_256]
  50. CASE_1=PRIORITY:0,NUMBERS:2:0|1,PRESET:SPEAKER_MUSIC
  51. CASE_2=PRIORITY:1,NUMBERS:1|2|4194304:2|3|4,PRESET:SPEAKER_SAFE_CALL
  52. CASE_3=PRIORITY:2,NUMBERS:1|4194304:0|1,PRESET:SPEAKER_SAFE_MUSIC