• 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
Where should CAStreamBasicDescription be instantiated?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Where should CAStreamBasicDescription be instantiated?


  • Subject: Where should CAStreamBasicDescription be instantiated?
  • From: Jim Griffin <email@hidden>
  • Date: Wed, 27 Feb 2013 16:24:57 -0500

I am working on a plugin that needs more data frames from the audio stream than the default 512.  If I could get 2048 instead things would work better for me.

It looks to me that using CAStreamBasicDescription to configure the streams to send me a 2048 frame would be a solution to my problem.  I read through the docs and they seem pretty clear except where do I put the CAStreamBasicDescription in my code?

I have found where the default configuration is called and where it sets the parameters the way it wants but it seems to basically come out of nowhere.  I haven't been able to determine where it is instantiated at or what I need to do to over ride it.

My first problem is where in my plugin do I instantiate a CAStreamBasicDescription object so that it will control the stream configuration and not be over written by the default configuration

Are there any example projects that illustrate how to use the CAStreamBasicDescription is used directly?


Jim Griffin



 _______________________________________________
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

  • Follow-Ups:
    • Re: Where should CAStreamBasicDescription be instantiated?
      • From: Jeff Moore <email@hidden>
  • Prev by Date: Re: Crashes in HALPropertyListener_Call_Helper when using property listeners in threaded code.
  • Next by Date: Re: Where should CAStreamBasicDescription be instantiated?
  • Previous by thread: Multiple AudioUnits in a Single Component Bundle
  • Next by thread: Re: Where should CAStreamBasicDescription be instantiated?
  • Index(es):
    • Date
    • Thread