Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Packetisers
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Packetisers



on 29/9/01 2:33 AM, May Anthony-CTM001 at email@hidden wrote:

> I have written some packetiser components for QuickTime, based on the sample
> code from Apple. The example audio packetiser has a dialog box included in the
> code. However, when I use QuickTime Pro (and Cleaner 5) I cannot get this
> dialog box to appear. My reason for wanting the dialog box is to allow
> different maximum packet sizes to be set for each packetiser individually,
> when processing video and audio.
>
> Please can someone tell me how I can get the packetiser dialog to appear in
> QuickTime Pro, or how I can set the max packet size for each packetiser being
> used via the GUI?
>
> Thanks,
>
> Tony May

I've found this the best way to display a dialog from within a quicktime
component;

compRef = OpenComponentResFile((Component)(**glob).self);

dlog = GetNewDialog(kDLOGID, 0, (WindowPtr) -1);

//do stuff

DisposeDialog(dlog);

CloseComponentResFile(compRef);


Hope this helps.

--
Adrian Bourke
email@hidden




Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.