• 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
Built-in audio devices unexpected behavior
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Built-in audio devices unexpected behavior


  • Subject: Built-in audio devices unexpected behavior
  • From: Mikael Hakman <email@hidden>
  • Date: Tue, 19 Aug 2008 14:23:52 +0200

While performing some tests using built-in audio devices I observed following behavior not consistent with my expectations.

  1. Whenever my application sets virtual format on either input or output device to standard Float32 PCM then physical format changes to 16-bits even if I set it to 24-bits in AMS.

  2. According to HALLab and to returned kAudioDevicePropertyLatency/kAudioStreamPropertyLatency properties, latency of these devices is 30 samples. Connecting output to input, outputting a single pulse, and measuring the number of samples until the pulse appears on input yields a total latency of about 900 samples when using 128 sample buffer sizes. I would expect total latency of 128 + 30 + 30 = 188 samples.

  3. Whenever optical input signal ceases then input device changes its input stream from digital to line-in despite optical connector still being physically connected. I would expect reported input stream still being digital but with no channels in it when there is no valid digital signal. Output device does it right – when optical jack is connected then the stream is digital, when analog jack is connected then the stream is line-out.

Could you please comment on these observations.

Thanks/Mikael


 _______________________________________________
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: Built-in audio devices unexpected behavior
      • From: Jeff Moore <email@hidden>
  • Prev by Date: Re: Maximum number of parameters?
  • Next by Date: Re: Maximum number of parameters?
  • Previous by thread: Re: Maximum number of parameters?
  • Next by thread: Re: Built-in audio devices unexpected behavior
  • Index(es):
    • Date
    • Thread