• 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: Question about HostCallback_GetTransportState
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Question about HostCallback_GetTransportState


  • Subject: Re: Question about HostCallback_GetTransportState
  • From: Paul Davis <email@hidden>
  • Date: Mon, 15 Aug 2011 16:35:36 -0400

On Mon, Aug 15, 2011 at 4:22 PM, Eagle Offshore <email@hidden> wrote:
>  typedef OSStatus (*HostCallback_GetTransportState)
>         (   void *inHostUserData,
>             Boolean *outIsPlaying,
>             Boolean *outTransportStateChanged,
>             Float64 *outCurrentSampleInTimeLine,
>             Boolean *outIsCycling,
>             Float64 *outCycleStartBeat,
>             Float64 *outCycleEndBeat );
> I draw your attention to "outTransportStateChanged".  Really?  I'm supposed
> to keep a map of every possible client that might call me back and what I
> told them last time they called the callback so I can tell them that this
> time I'm telling them something different?  Is this argument used at all?
>  Is it a bad idea if I just return YES all the time?  Why?

your host presumably has some data structure representing a given AU.
you store the last transport state reported to that client somewhere
in that data structure, so that its per client.
 _______________________________________________
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: 
 >Question about HostCallback_GetTransportState (From: Eagle Offshore <email@hidden>)

  • Prev by Date: Question about HostCallback_GetTransportState
  • Next by Date: Re: Identifying AUs from host?
  • Previous by thread: Question about HostCallback_GetTransportState
  • Next by thread: memcpy woes
  • Index(es):
    • Date
    • Thread