I'm working on Android project in which I must analyze audio signals in frequency domain. Actually I have ready module which is reading signal from device microphone and process it (FFT, visualizations, etc.) and I don't have any problems with this kind of signals.
Now I'm trying to analyze audio signal which is stored on device as mp3 file. Generally I don't have any issues with playing it from MediaPlayer object. Unfortunately I have some problem with getting access to data buffer played by my player, which I could you use to spectrum calculations.
Do you have any advices how can I get access to audio buffer? Is it at all possible with MediaPlayer or should I use other approach to this problem?