Retired Document
Important: This sample code may not represent best practices for current development. The project may use deprecated symbols and illustrate technologies and techniques that are no longer recommended.
Relevant replacement documents include:
Clippings/QTSound.c/AddMediaSample.txt
err = AddMediaSample (theMedia, /* media specifier */ |
sndHandle, /* handle to sample data - dataIn */ |
sndDataOffset, /* specifies offset into data reffered to by dataIn handle */ |
sndDataSize, /* number of bytes of sample data to be added */ |
kSoundSampleDuration, /* duration of each sound sample */ |
(SampleDescriptionHandle)sndDesc, /* sample description handle */ |
numSamples, /* number of samples */ |
kSyncSample, /* control flag indicating self-contained samples */ |
nil); /* returns a time value where sample was insterted */ |
Copyright © 2003 Apple Computer, Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2003-01-14