[Mono-osx] Audio played using QTMovie stops before end of track.

CircleOf14 alfredomachin at hotmail.com
Sun Apr 1 08:28:48 UTC 2012

Hello. I want to play a 30 second wave file and have it loop over and over
again until my program closes. So I did this:

var keys = new NSString[] {QTMovie.FileNameAttribute,
var values = new NSObject[] {(NSString)"Content/sndRapBeat.wav",
NSDictionary nsd = NSDictionary.FromObjectsAndKeys (values,keys);			
NSError err = null;
QTMovie qtmRapBeat = new QTMovie(nsd, out err);

The wave file starts to play ok, but it cuts off at completely random times.
Sometimes it will play for 15 seconds sometimes only for 5 seconds. Then it
just stops. Can somebody tell me what I'm missing? Thanks.

View this message in context: http://mono.1490590.n4.nabble.com/Audio-played-using-QTMovie-stops-before-end-of-track-tp4523007p4523007.html
Sent from the Mono - OSX mailing list archive at Nabble.com.

More information about the Mono-osx mailing list