		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 */