Re: DirectSound and full-duplex

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



On Sun, 31 Jul 2005 21:59:19 -0400, "Chris P. [MVP]"
<msdn@xxxxxxxxxxxx> wrote:

<snip>
> If I
>knew enough about it's interfaces I would be tempted to write a low latency
>replacement.
I'd also be interested in doing this. Do you know if the information
is publicly available, in the DDK or something? It seems to me that
if the ADC and DAC operations begin at the same time, assuming
sample rates are the same, then the Nth ADC sample should
correspond to the Nth DAC sample, even if it takes a while to get
everything through all the FIFOs and kmixer buffers. The fact
that they don't is puzzling, and may imply that there is some
hardware issue that isn't being dealt with.

But if it was a constant sample offset for any given card, then
at least a user could calibrate to each particular card with a
loopback. At the moment, however, it seems we can't even
be sure that the ADC and DAC processes are getting
started by Windows at the same time. My informal experiments
show that just giving waveInStart followed by waveOutWrite
doesn't assure this, nor would we expect it... Windows could
always decide it needed to refresh the cache or something between
commands. I guess a custom driver would need to prevent
that by running in Ring 0 and shutting off interrupts, etc.

Ahhh, I guess this is what keeps us all from getting too
complacent!

Best regards,






Bob Masta
dqatechATdaqartaDOTcom

D A Q A R T A
Data AcQuisition And Real-Time Analysis
www.daqarta.com
Home of DaqGen, the FREEWARE signal generator
.



Relevant Pages

  • Re: Quiet general purpose + music laptops?
    ... I suspect you'll need an external sound card for that. ... external USB DAC, but thus far the only one I've found that works as I ... audio output start at around double the price unless you can put up ... My ancient laptop's internal sound system insisted on always resampling ...
    (uk.comp.os.linux)
  • Re: 256-fold (or even more) increase in speed on copper wire possible IMHO
    ... ie. 8 DC voltage levels much like done with a DAC and ADC. ... There's the loss inherent in the wires, just as a start - You *MIGHT* ... Then there's environmental noise that the wires are going to pick up (I ...
    (comp.arch.embedded)
  • Re: Controller design
    ... of course the input and output are DAC and ADC counts (the former ... So to make a z domain transfer function you just need to write ... Need to learn how to apply control theory in your embedded system? ...
    (sci.electronics.design)
  • Re: 256-fold (or even more) increase in speed on copper wire possible IMHO
    ... ie. 8 DC voltage levels much like done with a DAC and ADC. ... If the wire run is short (e.g. ... The problem is that what comes out of the cable is quite different than what you put into the cable, especially at high signaling rates. ...
    (comp.arch.embedded)
  • Re: Tube DACs??
    ... Figure 4.3 says that the total power usage was 500 watts. ... If enough accuracy and stability were possible, the SAR DAC technology would ... But what we need is a DAC, not a successive approximation ADC. ...
    (rec.audio.tubes)