• 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
SampleTime
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SampleTime


  • Subject: SampleTime
  • From: email@hidden
  • Date: Wed, 12 Dec 2001 13:15:28 -0500

Anyone -

I have noticed what I think is a problem with timestamps in the IOProcs and the
AudioDeviceGetCurrentTime -

If I stop and start the same device very rapidly the inNow time in the IOProc
and the AudioDeviceGetCurrentTime seem to continue from the last IO? I can make
it happen by hitting play-stop-play in rapid succession... After the stop I
expect the next inNow.mSampleTime to be close to 0, but in this case it
continues from the previous point. If I wait for a second or two before playing
again I get the expected behavior... I am depending on accurate timestamps to
determine my relative sample position in my media. Has anyone seen this? When I
stop the device I always remove the IOProc as well. I have added test code to
check the isRunning property and it comes back as stopped. Is the
AudioDeviceStop an asyncronous command? How can I tell if it is really
stopped???

Any help would be appreciated????

Thanks
Jim Dolan.


  • Follow-Ups:
    • Re: SampleTime
      • From: Jeff Moore <email@hidden>
  • Prev by Date: Re: Using MidiMan Delta 66 drivers.
  • Next by Date: Re: Using MidiMan Delta 66 drivers.
  • Previous by thread: Re: Using MidiMan Delta 66 drivers.
  • Next by thread: Re: SampleTime
  • Index(es):
    • Date
    • Thread