Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SCAudioFill buffer again :)



Given your original description, it seems like you have a misunderstanding about how FillBuffer calls map to calls to your input proc (they don't; SCAudio will call your input proc whenever it feels like it).

Resetting between every pull is not the right solution.  Adjust your loop; don't exit when FillBuffer returns data without calling your input proc... all is well, carry on.  It got plenty of data last time, and is able to satisfy your FIllBuffer call with that data.

Greg

On Sep 6, 2006, at 1:36 AM, Siegfried Hand wrote:

Hi thanks for your answer

 

I finally found this magic function SCAudioReset(), that flush the buffers, and everything’s ok now

 

 

Thanks again.

 


De : Brad Ford [mailto:email@hidden]
Envoyé : mardi 5 septembre 2006 18:41
À : Siegfried Hand
Cc : email@hidden
Objet : Re: SCAudioFill buffer again :)

 

I think you're going to have to share code.

 

-Brad Ford

QuickTime Engineering

 

On Sep 5, 2006, at 3:00 AM, Siegfried Hand wrote:



Hi, i have an other question oubout this function.

 

When i call for the first time SCAudioFillBuffer, every things is ok, but at the second try it return noErr, but the callback proc is not called.

So my loop break.

The second call is exactely the same as the first one, i mean same size of datas to convert

 

Any idea about this point ?

 

Thanks.

 _______________________________________________

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

 

 _______________________________________________
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

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
QuickTime-API mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quicktime-api/email@hidden

This email sent to email@hidden

References: 
 >RE: SCAudioFill buffer again :) (From: "Siegfried Hand" <email@hidden>)



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

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.