• 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: NSMovieView Interface Object Question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSMovieView Interface Object Question


  • Subject: Re: NSMovieView Interface Object Question
  • From: m <email@hidden>
  • Date: Tue, 29 Apr 2003 17:39:22 +0100

On Tuesday, April 29, 2003, at 04:57 PM, Michael Hanna wrote:

I'm not sure because I'd like an elegant way to determine if the media type is correct(AIFF or WAV). Is there a way to do this with NSSound?

Not sure what you mean here; whether you use NSSound or NSMovieView, it's up to you to determine that you're giving it a file in the correct format. NSSound's soundUnfilteredFileTypes method and NSMovie's movieUnfilteredFileTypes method can help you here. See the documentation.

_murat


On Tuesday, April 29, 2003, at 01:46 AM, m wrote:

On Tuesday, April 29, 2003, at 01:15 AM, Michael Hanna wrote:

I just want to play a sound from my app. So I think an NSMovieView would be useful. Since I'm not using video, does the NSMovieView widget that I place on my window in IB have to be of any particular size or location? Does it even have to be present?

Perhaps NSSound will do what you need?

_murat
_______________________________________________
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.
_______________________________________________
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.
_______________________________________________
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:
    • Newbie Build Error
      • From: Michael Hanna <email@hidden>
    • Newbie Build Error
      • From: Michael Hanna <email@hidden>
References: 
 >Re: NSMovieView Interface Object Question (From: Michael Hanna <email@hidden>)

  • Prev by Date: Re: File Detection
  • Next by Date: [ANN] poof image Apple sample code
  • Previous by thread: Re: NSMovieView Interface Object Question
  • Next by thread: Newbie Build Error
  • Index(es):
    • Date
    • Thread