Creating a Virtual (Webcam) Device

2010-03-30 Thread Sven Andersson
Hi! I am looking for a solution to create a "virtual" webcam device under OS X (that acts just as a normal hardware webcam, but the application has full control over what to output). I'm fairly experienced with C++, but not so much with Objective-C and OSX/Cocoa programming. I have looked into "I

Re: Getting AAC tag information

2009-10-14 Thread Sven
On Tue, 13 Oct 2009, Jens Alfke wrote: On Oct 13, 2009, at 9:30 AM, Sven wrote: Thanks... I don't want to encode any audio files, I merely want to be able to get and set tag data. For MP3s I can use id3lib no problems, but that doesn't help me with AAC files. I guess if there&#

Re: Getting AAC tag information

2009-10-13 Thread Sven
On Tue, 13 Oct 2009, Jens Alfke wrote: On Oct 13, 2009, at 2:12 AM, Sven wrote: I've found documentation on getting ID3 tag data from MP3s via QuickTime, but I'm having a hard time finding information on retrieving this data from AAC files. You can get at AAC tags via QuickTi

Getting AAC tag information

2009-10-13 Thread Sven
C and MP3 files. ./Sven ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Sub

[iPhone opengl] drawing issues when switching views

2009-09-17 Thread Sven
econd time. On switching the OpenGL view and controller are both deallocated. The most relevant code is here http://pastie.org/620291. TIA ./Sven ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator com

Re: [iPhone] CAKeyframeAnimation

2009-08-12 Thread Sven
On Wed, 12 Aug 2009, David Duncan wrote: Thanks for the quick reply On Aug 12, 2009, at 7:17 AM, Sven wrote: It works fine on the simulator but on the device it's REALLY slow. If I set the duration to less than 5 seconds (for 25frames) the animation doesn't even play an

[iPhone] CAKeyframeAnimation

2009-08-12 Thread Sven
call to add the animation to the CALayer is taking quite a long time. Am I reaching the limits of capability by using this number of images at this size, or is there something else I should consider? Or perhaps a different approach to flip book these images?

Re: [iPhone] Action sheet on ViewDidLoad

2009-08-07 Thread Sven
Luke On Aug 6, 2009, at 10:54 PM, Sven wrote: Hello, I have a view with a toolbar in which I show an action sheet in viewDidLoad. When the view loads however the action sheet sits slightly too high, revealing about 20-30 pixels of the toolbar at the bottom. If I show the action sheet f

[iPhone] Action sheet on ViewDidLoad

2009-08-06 Thread Sven
x27;s perfectly aligned to the bottom. Is showing an actionsheet in viewDidLoad a bit too premature for everything to align correctly or is it something else that I'm doing wrong? This happens both on the simulator and device. Thanks ./Sven ___

Re: memory allocation different in simulator and on the iPhone

2009-07-28 Thread Sven
UIImage* image = [UIImage imageNamed:fileName]; Loading an image with imageNamed causes the image to be cached in memory as per the documentation. I suggest using one of the alternatives to load your images and see how that affects memory usage ./Sven 2009/7/24 Dragos Ionel > You are ri