• 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: Stuck notes in Rax and Synthtest
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Stuck notes in Rax and Synthtest


  • Subject: Re: Stuck notes in Rax and Synthtest
  • From: Pete Yandell <email@hidden>
  • Date: Thu, 8 May 2003 17:32:21 +1000

I've had a bunch of user reports of stuck notes in my SimpleSynth, which uses the DLS music device, but have never been able to reproduce the problem on my (single processor) machine. The thought that it could be a multiple processor issue hadn't even occurred to me until this thread popped up.

So please keep posting with your findings for those of us that don't have a multiple processor machine on which to test!

On Thursday, May 8, 2003, at 05:09 PM, Yasir Assam wrote:

I'm getting stuck notes playing the DLSMusicDevice. It sounds like it might
be same thing.

How can I use a mutex to block my MIDI playback thread while the
DLSMusicDevice is doing its thing? I've probably not understood this right,
but when you use a mutex both threads need to call pthread_mutex_lock() on
the same pthread_mutex_t variable don't they? This would mean both my MIDI
playback code and the DLSMusicDevice would have to use the same
pthread_mutex_t, and as the DLSMusicDevice code is hidden from me I can't do
this. Have I understood this right?

My question really is, how can I block my MIDI playback thread from calling
MusicDeviceMIDIEvent() whilst the DLSMusicDevice is in a state where it
*cannot* receive MIDI events?

Thanks,

Yasir Assam
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Stuck notes in Rax and Synthtest
      • From: Philippe Wicker <email@hidden>
    • RE: Stuck notes in Rax and Synthtest
      • From: "Yasir Assam" <email@hidden>
References: 
 >RE: Stuck notes in Rax and Synthtest (From: "Yasir Assam" <email@hidden>)

  • Prev by Date: Re: Non C++ IOKit driver.
  • Next by Date: RE: Stuck notes in Rax and Synthtest
  • Previous by thread: RE: Stuck notes in Rax and Synthtest
  • Next by thread: RE: Stuck notes in Rax and Synthtest
  • Index(es):
    • Date
    • Thread