• 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: Newbie Quickie
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Newbie Quickie


  • Subject: Re: Newbie Quickie
  • From: Hasan Diwan <email@hidden>
  • Date: Wed, 4 Dec 2002 18:04:03 -0500

#import <AppKit/AppKit.h>
#include <stdio.h>

system("mv foo.aif foo.aiff");
NSSound *sound = [NSSound soundNamed:@"foo"];
[sound play];
On Sunday, December 1, 2002, at 11:52 AM, ben milford wrote:

> I'm a C and Actionscript programmer, and now want to get into Cocoa,
> I've read a bit about it, and now want to get stuck in. The best way I
> find is to muck about with something that interests me, so if someone
> could show me a little snippet of code to simply play a .aif file from
> the hard drive, I'll be well on my way!
>
> Thanks
> Ben
> _______________________________________________
> cocoa-dev mailing list | email@hidden
> Help/Unsubscribe/Archives:
> http://www.lists.apple.com/mailman/listinfo/cocoa-dev
> Do not post admin requests to the list. They will be ignored.
>
Hasan Diwan
OpenPGP KeyID: 0xBE42DCA6
Fingerprint: 1CB0 47E3 0A24 DAC1 DCCA 4225 F166 40C2 BE42 DCA6
http://www.cs.rpi.edu/~diwanh/gpg.key

[demime 0.98b removed an attachment of type application/pgp-signature which had a name of PGP.sig]
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Newbie Quickie (From: ben milford <email@hidden>)

  • Prev by Date: Re: Cocoa and ... Pascal!!!
  • Next by Date: Re: Cocoa-Java????
  • Previous by thread: Re: Newbie Quickie
  • Next by thread: Re: Cocoa and ... Pascal!!!
  • Index(es):
    • Date
    • Thread