home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / sys / mac / programm / 19791 < prev    next >
Encoding:
Internet Message Format  |  1992-12-14  |  1.4 KB

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