• 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 uses 3-8% CPU after playing a sound?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSMovieView uses 3-8% CPU after playing a sound?


  • Subject: Re: NSMovieView uses 3-8% CPU after playing a sound?
  • From: "Craig S. Cottingham" <email@hidden>
  • Date: Tue, 18 Sep 2001 09:02:57 -0500

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Monday, September 17, 2001, at 05:25 , Jonathan Hendry wrote:

On Monday, September 17, 2001, at 05:08 , Adam Iser wrote:

For sound in my app I use a shared 'NSMovieView', simply setting the movie to the sound I want played and calling 'start:'. But with my current code I've noticed that after I play a sound, my application uses 3-8% of the CPU (where before I played the sound it would consume almost 0%).

What am I doing wrong to cause this?

Not sure, but I think Finder 10.0.4 shows similar behavior if you
use Browser mode and select a sound file so the preview is shown.

That might go a ways towards explaining why, when I preview a QuickTime movie in Finder then try to delete it, I get an error message saying that the file can't be deleted because it's in use by another application.

- --
Craig S. Cottingham
email@hidden
PGP key available from: <http://pgp.ai.mit.edu:11371/pks/lookup?op=get&search=0xA2FFBE41>
ID=0xA2FFBE41, fingerprint=6AA8 2E28 2404 8A95 B8FC 7EFC 136F 0CEF A2FF BE41
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (Darwin)
Comment: For info see http://www.gnupg.org

iD8DBQE7p1QVE28M76L/vkERAumeAKDUHA5JYw+R7GIt9YLCKBtcCs+H+wCfRlXi
8+F7ERsAr8B55SDs1rZECzE=
=iWsS
-----END PGP SIGNATURE-----


  • Follow-Ups:
    • Re: NSMovieView uses 3-8% CPU after playing a sound?
      • From: Matt Judy <email@hidden>
References: 
 >Re: NSMovieView uses 3-8% CPU after playing a sound? (From: Jonathan Hendry <email@hidden>)

  • Prev by Date: Re: LaunchServices API + Cocoa Application
  • Next by Date: Re: QuickDraw LockPixels on Mac OS X (was: Saving a series of BitmapReps as Quicktime)
  • Previous by thread: Re: NSMovieView uses 3-8% CPU after playing a sound?
  • Next by thread: Re: NSMovieView uses 3-8% CPU after playing a sound?
  • Index(es):
    • Date
    • Thread