• 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
inTimeStamp->mSampleTime in the InputProc is not reset
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

inTimeStamp->mSampleTime in the InputProc is not reset


  • Subject: inTimeStamp->mSampleTime in the InputProc is not reset
  • From: Rolf Nilsson <email@hidden>
  • Date: Fri, 12 Nov 2004 17:07:27 +0100


Hi,

My recording application is partly based on the "afrecord" example in the /CoreAudio/Services/AudioFileTools folder (same as TN2091)
and the ComplexPlayThru example.

Everything works fine except when I tear down the whole recording stuff, then start it again (without quitting the application).
After that the inTimeStamp->mSampleTime in the InputProc is not reset but seems to have the same time values as before tearing it down.
If I sleep for say a second between tearing it down and starting again, it's OK.
It seems the whole CA system needs some time to reset the device?

Strange is I don't see this behavior in the ComplexPlayThru example.

I tried to use AudioUnitSetProperty() with kAudioOutputUnitProperty_StartTime to reset the sample times but it does not work (or I'm not doing it correctly?)

Any ideas?

Thanks
Rolf Nilsson


 _______________________________________________
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: inTimeStamp->mSampleTime in the InputProc is not reset
      • From: Jeff Moore <email@hidden>
  • Prev by Date: Re: CoreAudio Level Of Death
  • Next by Date: .tfx presets -> AU presets?
  • Previous by thread: Core Audio buffer... No idea how to play it.
  • Next by thread: Re: inTimeStamp->mSampleTime in the InputProc is not reset
  • Index(es):
    • Date
    • Thread