Thank all of you
Ness:I think your way will work,and now i am using tha lame to encode the wave to mp3,but i want to try the directshow,thank you very much