home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!think.com!paperboy.osf.org!hsdndev!dartvax!news
- From: Jim.Matthews@dartmouth.edu (Jim Matthews)
- Newsgroups: comp.sys.mac.programmer
- Subject: QuickTime questions
- Keywords: QuickTime snd raw GetMediaNextInterestingTime
- Message-ID: <1992Dec14.163630.3885@dartvax.dartmouth.edu>
- Date: 14 Dec 92 16:36:30 GMT
- Sender: news@dartvax.dartmouth.edu (The News Manager)
- Organization: Dartmouth College, Hanover, NH
- Lines: 20
-
- I'm having a couple of problems writing some QuickTime software. These
- problems occur under both QT 1.0 and QT 1.5.
-
- 1) I can't find a reasonable way to extract the samples of an audio track,
- taking track edits into account. GetMediaSample() doesn't respect track
- edits, so I want to ask it only for as many samples as I know are used
- contiguously by the track. I hoped to get that information from the
- duration parameter of GetMediaNextInterestingTime(); but in my experience
- GMNIT always puts "1" in the duration parameter, and I don't want to call
- GetMediaSample() for every 8 bits of sound data.
-
- 2) The dataFormat field of the SoundDescription record is supposed to be
- set to 'raw ' for unsigned sound samples, but in my experience it always
- comes back as 0x00000000. So now I check for 0x00000000, but is this a
- problem with the movies I'm looking at or with the documentation?
-
- Thanks for any advice or answers,
-
- Jim Matthews
- Dartmouth Software Development
-