• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
QTTime Display
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

QTTime Display


  • Subject: QTTime Display
  • From: Barry Fawthrop <email@hidden>
  • Date: Thu, 20 Nov 2008 13:00:10 -0500

Hi All

I'm trying to display the duration of an Audio File

So far I have

QTTime duration  = [mMovie duration];
NSString *length = QTStringFromTime(duration);
[lengthField setStringValue: length];

Sadly this displays days:hours:minutes:seconds.frame/...

How would one get just      (a) hours:minutes:seconds
and then convert that into  (b) an Integer of in seconds
                        and (c) into a dateValue?


Thanks in advance

Barry
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: QTTime Display
      • From: "tahome izwah" <email@hidden>
  • Prev by Date: RE: Audio Unit controls view in Logic Pro
  • Next by Date: Re: QTTime Display
  • Previous by thread: RE: Audio Unit controls view in Logic Pro
  • Next by thread: Re: QTTime Display
  • Index(es):
    • Date
    • Thread