• 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: Progress bar in Audio Unit, crashes Logic
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Progress bar in Audio Unit, crashes Logic


  • Subject: Re: Progress bar in Audio Unit, crashes Logic
  • From: Brian Willoughby <email@hidden>
  • Date: Thu, 30 Oct 2003 04:22:52 -0800

Why create a modal window if you're going to the trouble of creating another
thread for processing? There should be no reason to stop the user from doing
other things if the main thread is not blocked. Find a way to show progress
with a non-modal display - perhaps with a write-only/display-only parameter.

Brian Willoughby
Sound Consulting


Begin forwarded message:

I'm trying to display a progress bar that comes up when the user
imports a wav or aiff file to be analyzed by a synth plug-in. I create
a new window with a progress control and start the processing on other
thread, and use YieldToThread at points within the processing thread to
allow the progress bar window to update. This all seems to work fine
on most hosts, however in Logic I get a crash soon after processing
starts (crash log follows for anyone so inclined).

I was just wondering if there are any issues I should watch out for
when creating a new thread within a plug-in. The progress bar window
is modal, so the user shouldn't be able to do anything while import
processing is going on but watch the bar go across.

Thanks,
Rob
_______________________________________________
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: Progress bar in Audio Unit, crashes Logic
      • From: Chris Reed <email@hidden>
References: 
 >Progress bar in Audio Unit, crashes Logic (From: Rob Martino <email@hidden>)

  • Prev by Date: AUHosting doesn't clean up AU graph on quit
  • Next by Date: kMusicDeviceProperty_InstrumentCount
  • Previous by thread: Progress bar in Audio Unit, crashes Logic
  • Next by thread: Re: Progress bar in Audio Unit, crashes Logic
  • Index(es):
    • Date
    • Thread