On Thu, Aug 28, 2008 at 8:17 PM, J. Todd Slack
<[EMAIL PROTECTED]> wrote:
> Hi All,
>
> Can anyone show me 10 seconds in the following format:
> "days:hours:minutes:seconds:frames/timescale"
> This is for creating a QTTime which QTTimeFromString.
>
> I am essentially trying to take an NSString (which say is 10) and make it a
> QTTime so that I can set my Selection and clip it to export to AIFF.

Why not just use QTMakeTime? Instead of creating a string to do the same thing?

QTMakeTime(10, 1); // 10 seconds
...or...
QTMakeTime(100, 10); // 10 seconds
...or...
QTMakeTime(300, 30); // 10 seconds

-Shawn
_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to