Sampling Rate Problem - AEC
- From: venu.annamraju@xxxxxxxxx
- Date: 18 Sep 2006 02:42:59 -0700
Hello All
I need to ensure the waveapi use 8K sampling rate for wavein and
waveout without any sample rate conversion. In the hardware, apparently
there is an option that can force this, even if this is not the case by
default.
I am using Wave apis on an Pocket PC platform.
If I use the wavein and waveout interfaces at 8K sampling rate, there
is drift in the samples which is bad for AEC.
I can think of two possibilities causing this problem
a) The default audio driver behavior uses two clocks. Generally
playback uses audio hardware clock, record uses a derivation CPU master
clock in the master mode settings (default) of the Audio hardware. CPU
master clock is used in both directions for Slave Mode setting, but
there seems to be no mechanism to access it from user level.
b) Sampling rate conversion (from 44.1K to 8K) in the playback path
causing drift. The Windows mixer may be using a sample rate conversion
which is causing the drift.
My questions:
a) Is there a simple solution to force both paths to use same clock and
sampling rate, since the option does exist at hardware level.
b) Can Windows Mobile DDK help in modifying the behavior for the
specific target?
Your input will be deeply appreciated, since I am grappling with this
problem for quite some time
thanks
Venu
.
- Follow-Ups:
- Re: Sampling Rate Problem - AEC
- From: Bob Masta
- Re: Sampling Rate Problem - AEC
- Prev by Date: Re: Change Default Sound Device From Code
- Next by Date: WaveIn cutting off my samples
- Previous by thread: Re: WaveOutProc clarification needed
- Next by thread: Re: Sampling Rate Problem - AEC
- Index(es):
Relevant Pages
|