NSMovie playback cutout
NSMovie playback cutout
- Subject: NSMovie playback cutout
- From: Greg Hamilton <email@hidden>
- Date: Tue, 25 Feb 2003 19:50:19 +1100
Hi,
I've tried directing this question to the Quicktime API mailing list a
few times with no luck.
The first Cocoa app I wrote was a simple app for a DJ friend of mine.
It plays multiple audio files and lets him cross fade b/w them. I use
an NSMovie instance for each file I'm playing.
Before installing Jaguar the software worked. Now when I start playing
a new file the other files tend to stop. They can be restarted but this
in turn causes other files to stop. Also, when I display the file
dialog to select new files to add to the playlist the audio pauses and
doesn't restart until I dismiss the dialog box.
I suspect there has been a change in a default setting in the Quicktime
API. In the QuickTime Player app preferences there is a checkbox to
select 'Play sound in frontmost player only'. There's probably a
Quicktime API function to toggle this setting for a movie. I've spent a
long time reading the Quicktime 6 API reference which I downloaded as a
PDF from the Apple web site. I can't find any functions that hint at
setting something like this for a movie.
To eliminate the possibility that my own bogus code is to blame I've
written a very simple test app that just allocates two NSMovies and
tries playing them at the same. The same thing happens. One or other
always cuts out after a few seconds.
Has anybody had a similar problem ? This is really frustrating.
Greg Hamilton
_______________________________________________
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.