• 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
Does NSSound not work in a Unix tool?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Does NSSound not work in a Unix tool?


  • Subject: Does NSSound not work in a Unix tool?
  • From: Uli Zappe <email@hidden>
  • Date: Thu, 21 Mar 2002 06:47:46 +0100

Hi,

is there any reason why NSSound wouldn't work in a Unix tool?

I.e. is there any reason why the following code wouldn't work?


#import <Cocoa/Cocoa.h>

int main (int argc, const char * argv[])
{
NSAutoreleasePool *pool=[[NSAutoreleasePool alloc] init];

[[NSSound soundNamed:@"Submarine"] play];

[pool release];
return 0;
}


When I compile this code (of course linked to both Foundation and AppKit) and execute it from the command line, I hear - nothing :-(


Bye
Uli
________________________________________________________

Uli Zappe email@hidden
Lorscher Stra_e 5 http://www.ritual.org
D-60489 Frankfurt Fon: +49-700-ULIZAPPE
Germany Fax: +49-700-ZAPPEFAX
________________________________________________________
_______________________________________________
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.

  • Follow-Ups:
    • Re: Does NSSound not work in a Unix tool? - SOLUTION
      • From: Uli Zappe <email@hidden>
    • Re: Does NSSound not work in a Unix tool?
      • From: Andrew Pinski <email@hidden>
  • Prev by Date: Re: Cocoa's Popularity
  • Next by Date: An other silly PrefPane problem
  • Previous by thread: RE: NSBitmapImageRep & .rgb? .sgi?
  • Next by thread: Re: Does NSSound not work in a Unix tool?
  • Index(es):
    • Date
    • Thread