문제

I am using DSPACK with Delphi 6 Pro.
I am looking for a good sample that shows how to create a filter graph that will convert the sample rate of an audio stream to a desired format (sample rate, bit depth, and number of channels) in real time.
Does anyone know of a good example project that shows how to structure the filter graph with DSPACK to do this? If not with DSPACK, then if you know of a good example or web page that discusses the general DirectX filter graph concepts involved, I can use that.
I also know C/C++ and can follow a C# example well enough.

도움이 되었습니까?

해결책

You need a resampling filter to do this. Options include:

Having such filter available, you will need to build a transcoding graph with audio source, resampler and target of your conversion (such as file).

Also as far as I remember, that stock ACM Wrapper Filter is capable of converting PCM audio between standard sample rates.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top