• 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
How to set the vaule of AudioTimeStamp structure
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to set the vaule of AudioTimeStamp structure


  • Subject: How to set the vaule of AudioTimeStamp structure
  • From: "Xie Kaiduan" <email@hidden>
  • Date: Mon, 29 Sep 2003 18:17:25 +0000

Hi, all,

I am going to set the buffer size of input/output audio device using AudioDeviceSetProperty(), and want the setting to be effective immediately. But I have no idea on how to set the parameter AudioTimeStamp. Be more straight, what is the meaning of the field in AudioTimeStamp structure and how to set it?

struct AudioTimeStamp
{
Float64 mSampleTime; // the absolute sample time
UInt64 mHostTime; // the host's root timebase's time
Float64 mRateScalar; // the system rate scalar
UInt64 mWordClockTime; // the word clock time
SMPTETime mSMPTETime; // the SMPTE time
UInt32 mFlags; // the flags indicate which fields are valid
UInt32 mReserved; // reserved, pads the structure out to force 8 byte alignment
};

I still cannot understand the meaning although there are some comments above.

Can anyone give a pointer?

Thanks,

kaiduan

_________________________________________________________________
MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.
  • Prev by Date: Re: AU N to M channels guideline (and Validation tool)
  • Next by Date: Re: [OT] Host Developers! - SheetWindows
  • Previous by thread: Re: [OT] Host Developers! - SheetWindows
  • Index(es):
    • Date
    • Thread