• 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
Why is sound:didFinishPlaying: only called once?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Why is sound:didFinishPlaying: only called once?


  • Subject: Why is sound:didFinishPlaying: only called once?
  • From: Manfred Schubert <email@hidden>
  • Date: Tue, 29 Jul 2003 04:02:13 +0200

I would like to loop a sound infinitely so I thought I can call [sound play] in sound:didFinishPlaying: like this:

- (void)sound:(NSSound*)sound didFinishPlaying:(BOOL)aBool
{
[sound play];
}

But the sound is only repeated once, i. e. sound:didFinishPlaying: is never called again. Why is that and how can I loop a sound infinitely?


Thanks

Manfred
_______________________________________________
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.

  • Follow-Ups:
    • Re: Why is sound:didFinishPlaying: only called once?
      • From: Chris Kane <email@hidden>
  • Prev by Date: Re: cocoa-dev digest, Vol 2 #2711 - 14 msgs
  • Next by Date: Re: Memory Management
  • Previous by thread: Re: cocoa-dev digest, Vol 2 #2711 - 14 msgs
  • Next by thread: Re: Why is sound:didFinishPlaying: only called once?
  • Index(es):
    • Date
    • Thread