• 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
Sound using QTKit "cracks up" randomly
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Sound using QTKit "cracks up" randomly


  • Subject: Sound using QTKit "cracks up" randomly
  • From: Ron Fleckner <email@hidden>
  • Date: Tue, 27 Nov 2007 17:17:07 +1100

Hi,

I have a test app where a short sound is played repeatedly up to about 320 times a minute. I want to allow the user to adjust the volume, so tried out the QTKit framework, as I'm not up to using CoreAudio. But the sound randomly cracks up and loses volume (both happen at once).

Not sure if this is a known problem or a programmer error(!).

Here's how I get the sound:

QTMovie *sound;

sound = [[[QTMovie alloc] initWithFile:filePath error:nil];

Then in a callback for NSTimer:

[sound play];


Things work for a while, then random cracks/distortions/volume fades occur. I've gotten a few other people to test, and the problem manifests on various machine types with no apparent pattern. That is, one MacBook Pro has the problem, one doesn't; one G4 doesn't have the problem, while another does. In fact, the problem occurred on my machine a few months ago, but I recently tried out the same test project to see if I could fix it, but now no problem on my machine!


Would anyone have any ideas, or could direct me to the correct mail list. I haven't yet tried the Quick Time lists because I'm not sure if this is a Quick Time problem or a QTKit problem.

TIA,

Ron
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: NSApp is nil
  • Next by Date: Re: NSArrayController Frustration
  • Previous by thread: NSApp is nil
  • Next by thread: Code and Decode a CGContextRef
  • Index(es):
    • Date
    • Thread