首页 > 代码库 > SW SRC for audio

SW SRC for audio

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.