• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Native mode IO problems
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Native mode IO problems
      • From: Jeff Moore <email@hidden>
  • Prev by Date: Re: Simulating Vibrato With Sine Wave
  • Next by Date: Re: Native mode IO problems
  • Previous by thread: Re: Advice for Cocoa Plug-ins & Objective-C implementation uniquing
  • Next by thread: Re: Native mode IO problems
  • Index(es):
    • Date
    • Thread