码迷,mamicode.com
首页 > 其他好文 > 详细

SW SRC for audio

时间:2014-07-10 18:59:11      阅读:201      评论:0      收藏:0      [点我收藏+]

标签:usb audio src

SRC means sampling rate convert, SW SRC is do sampling rateconvert by SW not HW.

 

In MS Wince audio driver, wealways call it wave driver, there is the source code for SW SRC.

 

The function are

OutputStreamContext::Render2()

InputStreamContext::Render2()

 

It is simple, it can meet our requirement, HW SRC always usedfor need higher quality audio and HW SRC always is hard to configure, it isrelate to mutlti channel DMA.

 

In some case, we do not need user space application to jointthe audio path, that is means, there are some case, application only info audiodriver to start or stop by IOCTL, all other things to be done by audio driver.Maybe here we can meet the sample rate convert requirement, we just to port theabove function in our audio path, and do not let the wave device to joint ouraudio driver. 


SW SRC for audio,布布扣,bubuko.com

SW SRC for audio

标签:usb audio src

原文地址:http://bluefish.blog.51cto.com/214870/1436562

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!