[wdmaudiodev] 回复: change SR in msvad

  • From: 英 张 <zds8481@xxxxxxxxxxxx>
  • To: wdmaudiodev@xxxxxxxxxxxxx
  • Date: Sat, 22 Dec 2007 11:00:29 +0800 (CST)

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 写道:
        v\:* {behavior:url(#default#VML);}  o\:* {behavior:url(#default#VML);}  
w\:* {behavior:url(#default#VML);}  .shape {behavior:url(#default#VML);}        
        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

     

     


   
      
---------------------------------
  
  雅虎邮箱传递新年祝福,个性贺卡送亲朋! 

   
    
    
---------------------------------
  
  雅虎邮箱传递新年祝福,个性贺卡送亲朋! 



       
---------------------------------
雅虎邮箱传递新年祝福,个性贺卡送亲朋! 

Other related posts: