How to send commands to Custom Platform Audio Effects?

Which system do you use? Android, Ubuntu, OOWOW or others?

Android TV v11.0

Which version of system do you use? Khadas official images, self built images, or others?

Self built image with Android 11.0 source from Khadas: GitHub - khadas/android_manifest: AOSP for Khadas VIMs & Edge

Please describe your issue below:

I have implemented a custom platform audio effect (by adding to /frameworks/av/media/libeffects"). The effect is attached to the speaker output through settings in audio_effects.conf.
How can I control the platform audio effect via EFFECT_CMD_SET_PARAM?
For example, EFFECT_CMD_SET_PARAM is supported by amlogic’s HPEQ effect as seen in vendor/amlogic/common/framewords/av/libaudioeffect/Hpeq/Hpeq.cpp.
What is the easiest way to send commands to HPEQ to set some parameters? Can we use “adb shell setprop” or something similar? Can this also be done through Android Applications? The command has to reach the audio effect instance that is attached to the speaker output during playback.

Thanks a lot for your kind assistance.

Post a console log of your issue below: