Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: PutMovieIntoTypedHandle and QT7.1.3
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: PutMovieIntoTypedHandle and QT7.1.3



Yes I've been looking longingly at the new APIs. Unfortunately I'm stuck in CFM land due to the fact that this is Adobe (Macromedia) Director plugin. The Mach-o CFM translation thing looks like a bit much trouble to go to at this point.

Foster

On 19/10/2006, at 5:25 PM, Daniel Steinberg wrote:

And by the way, PutMovieIntoTypedHandle, while not deprecated, is certainly discouraged these days. The MovieAudioExtraction APIs, introduced in QT 7.0, should be sufficient to extract the audio data from movies for most applications and, in fact, is what PutMovieIntoTypedHandle uses under its not inconsiderable covers. There are several good examples of its use in the sample code on the developer website.

Daniel Steinberg
QuickTime Engineering


At 9:10 PM -0700 10/18/06, Geoff Brown wrote:
There were no changes made to PutMovieIntoTypedHandle for QT 7.1.3, there were some minimal changes made for 7.1, have you tested wit the 7.1 release? Also, I am sure the -1 error has nothing to do with queue elements but is some internal problem. To understand what you are seeing, I will need more complete code than you have provided below.

If you can send me more complete code, or the compiled application, I will take a look.

-geoff

On Oct 18, 2006, at 7:59 PM, Foster Langbein wrote:

Hi List,

With the update to QT7.1.3, our application has suddenly started having a problem with a call to PutMovieIntoTypedHandle.

In one part of the application it works fine. However in another it is now returning -1. According to MacErrors.h this is qErr which means "queue element not found during deletion". Does anyone know what this means in this context? I've compared the working call with the non-working call, and I can't see any significant difference.

The call looks like:
macerr = PutMovieIntoTypedHandle(refMovie, 0, 'snd ', soundData, start, duration, 0, soundComp);
and the purpose is to extract audio sample data, and prior to QT7.1.3 it worked perfectly.


tia,

Foster


_______________________________________________ Do not post admin requests to the list. They will be ignored. QuickTime-API mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >PutMovieIntoTypedHandle and QT7.1.3 (From: Foster Langbein <email@hidden>)
 >Re: PutMovieIntoTypedHandle and QT7.1.3 (From: Geoff Brown <email@hidden>)
 >Re: PutMovieIntoTypedHandle and QT7.1.3 (From: Daniel Steinberg <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.