change polylink api design and update test
can save wav file to local divice