Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSMovieView Interface Object Question



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.

References: 
 >Re: NSMovieView Interface Object Question (From: Michael Hanna <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.