• 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: Recognizing iSight as audio input device?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Recognizing iSight as audio input device?


  • Subject: Re: Recognizing iSight as audio input device?
  • From: Jeff Moore <email@hidden>
  • Date: Fri, 24 Feb 2006 16:45:16 -0800

According to the code for AudioRingBuffer::CheckTimeBounds, it returns kAudioRingBufferError_WayAhead when the requested range isn't currently in the ring buffer.

I'd imagine that this implies that the input device isn't filling the ring buffer up for some reason.

On Feb 24, 2006, at 3:56 PM, Stephen Shaw wrote:

So I've managed to track it down to the Fetch() call inside of
::OutputProc(), in the Fetch it calls CheckTimeBounds() which is
returning an error 'kAudioRingBufferError_WayAhead'. At this time I'm
not certain how it's getting in this state since it doesn't happen with
any other of my input devices.


-Stephen

-----Original Message-----
From: Stephen Shaw
Sent: Friday, February 24, 2006 3:12 PM
To: 'CoreAudio API'
Cc: 'email@hidden'
Subject: RE: Recognizing iSight as audio input device?

Strange, I'll dig deeper,

Here's an update on what I've tried so far:

3 different external firewire iSight
2 different firewire cables
1 powermac G5 duel proc.
1 Intel iMac
Xcode 2.2
Xcode 2.2.1
Downloading the example src from developer.apple.com, fresh on both macs


The built in mic on the iMac works fine.

With the iSights, I get about a second of audio and then a hum, or
silence.
-Stephen


On Feb 24, 2006, at 12:46 pm, Jeff More wrote:
I just downloaded the ComplexPlayThru sample code from our website and
it seemed to work just fine with my iSight. I got a nice feedback loop
between it and my PowerBook's speakers. It worked correctly even when it
was selected as the default input device in the Sound Prefs.


I think you're going to need to do a little digging here. The fact that
there aren't any errors anywhere and the fact that you do record "a
slight humming noise" make it seem like the IO process is working
correctly, You are just ending up with the wrong data.


It could imply that your iSight is broken. Does it work correctly with
iChat or any other apps?






--

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: 
 >RE: Recognizing iSight as audio input device? (From: "Stephen Shaw" <email@hidden>)

  • Prev by Date: RE: interapplication midi communication, cfmessageports, ques
  • Next by Date: RE: Recognizing iSight as audio input device?
  • Previous by thread: RE: Recognizing iSight as audio input device?
  • Next by thread: RE: Recognizing iSight as audio input device?
  • Index(es):
    • Date
    • Thread