• 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: Can I recompose the Carbon-based app to a Cocoa-based app?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can I recompose the Carbon-based app to a Cocoa-based app?


  • Subject: Re: Can I recompose the Carbon-based app to a Cocoa-based app?
  • From: David Duncan <email@hidden>
  • Date: Thu, 24 Sep 2009 08:16:21 -0700

On Sep 23, 2009, at 6:31 PM, James wrote:

Hi all,
I have downloaded the "RecordAudioToFile" sample from the apple.dev sample code.
I want to implement to record the users voice, so the sample is useful for me. But it is
a Carbon-base application. The application I am working on is a Cocoa-Based App,
so I want to modify the sample to a Cocoa-Based App.I have tried several times. But,
I am not successful.


From the looks of it the Carbon UI just provides enough framework for you to select a location to record to and start/stop recording, but all the work is actually done by the UI agnostic DCAudioFileRecorder class. You could just take that class with some small modifications and use it directly in your Cocoa app...
--
David Duncan
Apple DTS Animation and Printing


_______________________________________________

Cocoa-dev mailing list (email@hidden)

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 Subscription:
This email sent to email@hidden


References: 
 >Can I recompose the Carbon-based app to a Cocoa-based app? (From: James <email@hidden>)

  • Prev by Date: Re: Exit screen saver programmatically?
  • Next by Date: Re: iPhone to Mac Synchronization
  • Previous by thread: Can I recompose the Carbon-based app to a Cocoa-based app?
  • Next by thread: Snow Leopard: unsupported PointerFunctions configuration was requested
  • Index(es):
    • Date
    • Thread