I am checking the possibility of this way, if I got any silly thinking, please correct me.
I would like to enhance the audio quality. According to some knowledge from web, I found that When an audio/music/sound is played , the AudioTrack will write() PCM data to the sharedbuffer, and then AudioFlinger will read() the PCM data form this sharedbuffer.
The idea is to use a service to intercept the PCM data after it is wrote by AudioTrack.write(), modify the PCM data, and then restore it back to the sharedbuffer for AudioFlinger to read();
Could anyone help/correct me, please?