[wdmaudiodev] 答复: 回复: change SR in msvad

  • From: <StarXing@xxxxxxxxxxxxxx>
  • To: <wdmaudiodev@xxxxxxxxxxxxx>
  • Date: Mon, 24 Dec 2007 16:30:36 +0800

For detailed information, please refer to:

http://msdn2.microsoft.com/en-us/library/ms790336.aspx

 

Best regards,

________________________________

发件人: wdmaudiodev-bounce@xxxxxxxxxxxxx [mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx] 
代表 英 张
发送时间: Saturday, December 22, 2007 11:00 AM
收件人: wdmaudiodev@xxxxxxxxxxxxx
主题: [wdmaudiodev] 回复: change SR in msvad

 

To StarXing:

    Thank you for your advise.I have tried,it make sense when I played a sine 
wave and recorded it. But when I played a mp3 or wma file (a song),it 
distortion very seriously when sample rate is 22050 or 8000,and sound good when 
sample rate is 48000 or 44100 or higher.My question is: when playing a song(mp3 
or wma),does it realy distortion when I change its sample rate?

 

   Actually, I wonder what does DataRangeIntersection mean, could you tell me 
more? 

 

Thank you!

Best wishes!

Neil

 



StarXing@xxxxxxxxxxxxxx 写道:

        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>  

 

  

________________________________

雅虎邮箱传递新年祝福,个性贺卡送亲朋! 
<http://cn.mail.yahoo.com/gc/index.html?entry=5&souce=mail_mailletter_tagline>  

Other related posts: