Re: NSMovieView Interface Object Question
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.