• 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
Re: Render callback disappearing (QT 7.0)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Render callback disappearing (QT 7.0)


  • Subject: Re: Render callback disappearing (QT 7.0)
  • From: Dominic Feira <email@hidden>
  • Date: Tue, 10 May 2005 17:37:35 -0400

Okay. That makes sense. So, in other words, I was just getting lucky on Panther.
Good to know.


Dominic Feira / Code Monkey / Ambrosia Software, Inc.

On May 10, 2005, at 5:30 PM, William Stewart wrote:


On 10/05/2005, at 1:23 PM, Dominic Feira wrote:


I have verified that AudioUnitRender is in fact not returning an error. The graph functions properly sometimes, yet others it does not. I did CAShow(myGraph) as you suggested, and the output looks the same regardless of wether its working or not.

AudioUnitGraph 0x1827334:
  Member Nodes:
    node 1: desc aufc conv appl, instance 0x870008 O I
    node 2: desc aumx smxr appl, instance 0x870009 O I
    node 3: desc aufx greq appl, instance 0x87000A O I
    node 4: desc aufc conv appl, instance 0x87000B O I


ok - but where is your output unit in this graph.

A graph *must* have an output unit (even if its just the generic one and the GenericOutput unit we ship (auou genr appl - Apple: GenericOutput) does everything that the converter unit will do as well. I'd use this as your node 4 I think.

Without that, the graph is really not going to be in a predictable state - for instance, calling AUGraphStart is going to fail...

Bill


  Connections:
    node  1 bus  0 => node  2 bus  0
    node  2 bus  0 => node  3 bus  0
    node  3 bus  0 => node  4 bus  0
  Events to be updated:
  CurrentState:
    mLastUpdateError=0, eventsToProcess=F, isRunning=F

As I mentioned in my first (more lengthy) e-mail, this graph is being used as an offline renderer and the callbacks at the leafs of the graph can lock. Perhaps the locking is causing a problem.

Dominic Feira / Code Monkey / Ambrosia Software, Inc.

On May 10, 2005, at 3:24 PM, William Stewart wrote:



Are you sure your graph is all wired up? (Try CAShow(myGraph)

Are you sure you are getting noErr result from AudioUnitRender?

Bill

On 10/05/2005, at 10:19 AM, Dominic Feira wrote:




Hello. I'll keep this short. Last time everybody's eyes probably glazed over.

What can cause a Render callback on an audio unit to not be called? Notably, the render callback is called one or two times, but then is called no longer, even though I know AudioUnitRender is being called on the graph. This is only happening on systems with Quicktime 7.0. Systems with 6.5.x are not affected. No errors are reported during setup of the graph or when calling AudioUnitRender.

Thanks.

Dominic Feira / Code Monkey / Ambrosia Software, Inc.

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


This email sent to email@hidden





--
mailto:email@hidden
tel: +1 408 974 4056
____________________________________________________________________ ______
"Much human ingenuity has gone into finding the ultimate Before.
The current state of knowledge can be summarized thus:
In the beginning, there was nothing, which exploded" - Terry Pratchett
____________________________________________________________________ ______








--
mailto:email@hidden
tel: +1 408 974 4056
______________________________________________________________________ ____
"Much human ingenuity has gone into finding the ultimate Before.
The current state of knowledge can be summarized thus:
In the beginning, there was nothing, which exploded" - Terry Pratchett
______________________________________________________________________ ____



_______________________________________________ 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
References: 
 >Render callback disappearing (QT 7.0) (From: Dominic Feira <email@hidden>)
 >Re: Render callback disappearing (QT 7.0) (From: William Stewart <email@hidden>)
 >Re: Render callback disappearing (QT 7.0) (From: Dominic Feira <email@hidden>)
 >Re: Render callback disappearing (QT 7.0) (From: William Stewart <email@hidden>)

  • Prev by Date: Re: Render callback disappearing (QT 7.0)
  • Next by Date: Writing m4a problems
  • Previous by thread: Re: Render callback disappearing (QT 7.0)
  • Next by thread: Re: Render callback disappearing (QT 7.0)
  • Index(es):
    • Date
    • Thread