• 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
missing frame in clipOutputSamples and convertInputSamples
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

missing frame in clipOutputSamples and convertInputSamples


  • Subject: missing frame in clipOutputSamples and convertInputSamples
  • From: peoplestank <email@hidden>
  • Date: Fri, 29 Sep 2006 15:55:28 -0700 (PDT)

Hi all-

   I am (still) working on a USB audio driver (dervied from the Apple USB Audio reference driver) and running into a problem where the value of firstSampleFrame to either convertInputSamples or clipOutputSamples in my audio engine is unexpected.  The expectation the "next" call should set firstSampleFrame to (firstSampleFrame + numSampleFrames) of the previous call.  Sometimes, however, firstSampleFrame is up 100 or so samples off.
   Once this happens, my sample buffers and USB frame lists get out of alignment and the audio starts glitching.

  How does CoreAudio compute firstSampleFrame before calling clipOutputSamples/convertInputSamples?

   Thanks
    -A





 _______________________________________________
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: missing frame in clipOutputSamples and convertInputSamples
      • From: Jeff Moore <email@hidden>
  • Prev by Date: Re: stereo-mono conversion: Sound Manager vs. AudioConverter
  • Next by Date: Re: missing frame in clipOutputSamples and convertInputSamples
  • Previous by thread: Re: stereo-mono conversion: Sound Manager vs. AudioConverter
  • Next by thread: Re: missing frame in clipOutputSamples and convertInputSamples
  • Index(es):
    • Date
    • Thread