• 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: ComplexPlayThru - behavior when using iSight
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ComplexPlayThru - behavior when using iSight


  • Subject: Re: ComplexPlayThru - behavior when using iSight
  • From: Jeff Moore <email@hidden>
  • Date: Wed, 19 Jul 2006 14:09:43 -0700

It's been a while since I last looked over that code, but I recall the biggest single issue had to do with it not handling overloads and other time discontinuities at all. I think it may also have had some issues with properly handling overrun/underrun of buffers in it's synch code.


On Jul 19, 2006, at 1:24 PM, Neil Clayton wrote:

OK - thanks, that's good to know.

What kind of things should I be doing, to make it more robust? At the moment, I don't really know what's going wrong with it (I cannot see any errors). Granted, I've not gone through the code with a fine tooth comb yet (looking for functions that might return errors, that don't, or are not setup to return them to the console)... still, I feel it's a bit like looking for a needle in a haystack.

What should I attack to try to get it working? Im happy to be told to 'go read stuff' as well - since I do want to learn about CoreAudio.

---
Neil Clayton



On 19 Jul 2006, at 18:49, Jeff Moore wrote:

ComplexPlayThru is a bit on the fragile side when it comes to synching the input to the output. When it goes off into the weeds, it will often end up like this (or just outputting silence) as it's recovery mechanisms are a bit lacking.

ComplexPlayThru exists to illustrate the basics of setting something like this up and just getting things working. Being sample code, it has rough edges and probably doesn't handle errors or other exceptional circumstances too well.

On Jul 19, 2006, at 4:44 AM, Neil Clayton wrote:

I fired up ComplexPlayThru (on a G5, with external iSight, FW) and attempted to use it.

I get about 1s of correct play through audio, followed then by continuos buzzing.

Is this the expected behavior?


--

Jeff Moore
Core Audio
Apple


_______________________________________________ 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: 
 >ComplexPlayThru - behavior when using iSight (From: Neil Clayton <email@hidden>)
 >Re: ComplexPlayThru - behavior when using iSight (From: Jeff Moore <email@hidden>)
 >Re: ComplexPlayThru - behavior when using iSight (From: Neil Clayton <email@hidden>)

  • Prev by Date: Re: Host Callback Methods and OSStatus
  • Next by Date: Re: ExtAudioFile how-to question
  • Previous by thread: Re: ComplexPlayThru - behavior when using iSight
  • Next by thread: Re: Coreaudio-api Digest, Vol 3, Issue 219
  • Index(es):
    • Date
    • Thread