Native mode IO problems
Native mode IO problems
- Subject: Native mode IO problems
- From: "Stephen F. Booth" <email@hidden>
- Date: Tue, 2 Feb 2010 09:37:07 -0800
I'm experiencing what I believe to be a buffer problem sending native
format audio to an external DAC, but I haven't been able to figure out
the cause.
My goal is to send 24-bit ints directly to the DAC. I currently do
something like the following:
1) Take hog mode
2) Grab the output AudioStream and set the physical format to
non-mixable 24-bit PCM
3) Verify the virtual format changed to match the new physical format
4) Copy data in my IOProc (the data comes from a ring buffer populated
in a separate thread)
I've tested this on a Benchmark DAC and on a Wavelength DAC. With the
Wavelength DAC, everything comes out sounding as expected. However,
with the Benchmark I hear repetitive glitching (approx. 2-3 times per
second) that seems to indicate some sort of buffer problem.
The strange thing is that if I send mixable floats to the DACs, the
output is correct on both devices. It is only when I switch to
non-mixable ints that I have the issue, and then only with the
Benchmark.
Does anyone have any ideas on what could be the cause?
Stephen
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden