Maybe you should also change DataRangeIntersection accordingly. ________________________________ 发件人: wdmaudiodev-bounce@xxxxxxxxxxxxx [mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx] 代表 英 张 发送时间: Friday, December 21, 2007 4:08 PM 收件人: wdmaudiodev@xxxxxxxxxxxxx 主题: [wdmaudiodev] 回复: change SR in msvad Hello, Actually, I just want to set a default sample rate, to in accordance with my product.What can I do? Thank you all! 英 张 <zds8481@xxxxxxxxxxxx> 写道: Hi,I have changed them as a same value 22050,like this: MIN_SAMPLE_RATE 22050 // Min Sample Rate MAX_SAMPLE_RATE 22050 // Max Sample Rate But it doesn't work. When I change sample rate in the 'SetFormat', only the header changed, when play a wav file, it is very slow of very fast. Si Gang <sigangllj@xxxxxxxxx> 写道: Hi, Maybe you can search MIN_SAMPLE_RATE and MAX_SAMPLE_RATE in your code and modify them as follows. #define MIN_SAMPLE_RATE 8000 // Min Sample Rate #define MAX_SAMPLE_RATE 96000 // Max Sample Rate Best wishes Gaby ________________________________ 雅虎邮箱传递新年祝福,个性贺卡送亲朋! <http://cn.mail.yahoo.com/gc/index.html?entry=5&souce=mail_mailletter_tagline> ________________________________ 雅虎邮箱传递新年祝福,个性贺卡送亲朋! <http://cn.mail.yahoo.com/gc/index.html?entry=5&souce=mail_mailletter_tagline>