• 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
getting 'kAudioDevicePropertyBufferFrameSize' may reflect invalid values
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

getting 'kAudioDevicePropertyBufferFrameSize' may reflect invalid values


  • Subject: getting 'kAudioDevicePropertyBufferFrameSize' may reflect invalid values
  • From: David Zimmermann <email@hidden>
  • Date: Thu, 06 Mar 2008 11:40:53 +0100
  • Organization: MARIAN OHG

Hi,


I`m writing an IOKit audio hardware driver.
I tested the driver with the HALLab tool and experienced problems.
The app seems to assume a wrong size in frames of my hardware sample buffers.
The arguments to my IOProcs pointed me to that conclusion.


I reflect my hardwares sample buffer size in frames via IOAudioEngine::setNumSampleFramesPerBuffer
within my subclasses initHardware.
Debugging the HALLab shows that the Audio HAL reflects valid sample buffer ranges (kAudioDevicePropertyBufferFrameSizeRange) but
the reflected current buffer size may be out of range (kAudioDevicePropertyBufferFrameSize) and thereby invalid.


For testing purposes I changed the HALLab source to limit every HAL reflected "kAudioDevicePropertyBufferFrameSize" against
the range and reset the property with that limited value.
Afterwards HALLab works fine with my driver.


But no other app does...
What do I miss ?

thanks in advance,

David

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

 _______________________________________________
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: getting 'kAudioDevicePropertyBufferFrameSize' may reflect invalid values
      • From: Jeff Moore <email@hidden>
  • Prev by Date: Re: Mp3 decoder library
  • Next by Date: Re: System preparation for realtime audio
  • Previous by thread: Re: Mp3 decoder library
  • Next by thread: Re: getting 'kAudioDevicePropertyBufferFrameSize' may reflect invalid values
  • Index(es):
    • Date
    • Thread