it can output the sound into the file.
while I want to process the data before it is saved into the file. I need to deal the output data in RAM.
how to do this?
I suggest you take a look at the spectrum analyzer demo application - more details in this Qt Labs article.