Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Multiple Capture with Sequence Grabber




On Dec 30, 2005, at 12:39 PM, Brad Ford wrote:

I've been looking at this some more. It seems that what you
suggested, using two audio sgchannels within the same grabber, won't
work around my problem since I still need to be able to start and
stop different grabs independently. As far as I can tell, SGStop on
any sequence grabber is stopping all SGAudioChannels regardless of
which sequence grabber they're associated with. That seems to be a
bug, would you agree?

Yes. That's a bug. Please write it up at bugreport.apple.com. It would be helpful if you could include a sample app that shows the problem.

I'll roll it into a sample app and submit it in the next few days. Thanks.


There is an inherent problem here -- the problem of sharing scarce resources across multiple controllers. Clearly if you are doing two grabs using completely different audio devices, then stopping one grab should not stop the devices in the other grab. However, what if you're grabbing from the same device using multiple grabbers? Who gets to stop the grab? Anyone?

I'm not trying to do multiple grabs from the same device. So if the former case worked and the later didn't, I'd be happy.


Still, though, wouldn't a simple reference count solve that problem? The grab should stop when the last grabber using the device stops...

ps - if you need a solution immediately, I would recommend using the AudioUnit/AUGraph api's.

Is it feasible to use that along with the sequence grabber api for the video, or would I need to access the vdig directly?


Thanks Brad!


_______________________________________________ Do not post admin requests to the list. They will be ignored. QuickTime-API mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/quicktime-api/email@hidden

This email sent to email@hidden
References: 
 >Re: Multiple Capture with Sequence Grabber (From: Bill Sanford <email@hidden>)
 >Re: Multiple Capture with Sequence Grabber (From: Brad Ford <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.