int32 DSGetClock (DSStreamCBPtr streamCBPtr, uint32* streamClock)
Clock time in the DataStreamer is measured in standard Portfolio audio clock ticks (the DataStreamer does not change the rate of the audio clock or the duration of audio ticks). Since the DataStreamer does not own the audio clock, however, external tasks can affect the DataStreamer clock by altering the state of the audio clock.
streamCBPtr
streamClock
kDSNoErr
kDSClockNotValidErr
STRM_CLOCK_VALID
flag of the streamFlags field in the specified stream context block is set to FALSE
)
DSSetClock