I've got my Quicktime audio program working in two modes now. Either
(1) reading audio synchronized with a track of visual frames in the
same file, or (2) just reading some number of audio samples per read
operation. In this number (2) mode, I'm getting results that vary
from other programs.
I have been unable to get a match with the number of samples I read
from the file with other Quicktime programs when I use the number (2)
option (samples_per_buffer attribute) in my module. My code generates
a different number of samples from the program
http://developer.apple.com/samplecode/QTAudioExtractionPanel/QTAudioExtractionPanel.html,
which also generates a different number of samples from Quicktime Pro
7.0.1. In my Quicktime file example, I get the following results in
the number of audio samples:
Program Number of samples
My audio module, mode (2) 1930571
QTAudioExtractionPanel 1930570
Quicktime Pro 7.0.1 used to determine the number 1931882
of samples in the original Quicktime movie
Quicktime Pro 7.0.1, used to extract the audio track into 1930556
an AIFF file and then determine the number of audio
samples in that AIFF file.
The values of the samples (except for the last one, which was extra,
and was zero valued) that I extracted in my module were the same as
in the QTAudioExtractionPanel.
Thanks,
Chris.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
QuickTime-API mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quicktime-api/email@hidden