• 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: AuSampler remains active after component unloaded?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AuSampler remains active after component unloaded?


  • Subject: Re: AuSampler remains active after component unloaded?
  • From: Brian Hall <email@hidden>
  • Date: Wed, 29 Aug 2012 13:45:32 -0400

- (void)viewWillDisappear:(BOOL)animated {
    if (myTimerName) {
       [myTimerName invalidate];
       myTimerName = nil;
     }
}


On Mon, Aug 27, 2012 at 10:56 PM, Verizon <email@hidden> wrote:
>
>
> First I should say I am a Objective C newbie so any help would be greatly appreciated!
>
> In My app I load AUSampler's cocoa AudioUnit (under OS 10.8) and it works fine. I can load samples, do edits and play them back with MIDI. However, when I close the component and the cocoa editor window, I start to get a non-stop serious of console messages as seen below. I have narrowed it down to Apple's AuSampler and seems to be coming from a timer procedure that was not removed. So I am pretty sure there is a deficiency in my program when it comes to fully disposing of a core audio, cocoa-based audioUnit. Can anyone please stir me in the right direction?
>
> 2012-08-27 17:42:06.831 Metro[5414:f0b] error retrieving output level for channel 0: -2147450879
> 2012-08-27 17:42:06.832 Metro[5414:f0b] error retrieving output level for channel 1: -2147450879
> 2012-08-27 17:42:06.843 Metro[5414:f0b] error retrieving output level for channel 0: -2147450879
> 2012-08-27 17:42:06.844 Metro[5414:f0b] error retrieving output level for channel 1: -2147450879
> 2012-08-27 17:42:06.847 Metro[5414:f0b] error retrieving output level for channel 0: -2147450879
> 2012-08-27 17:42:06.848 Metro[5414:f0b] error retrieving output level for channel 1: -2147450879
> 2012-08-27 17:42:06.859 Metro[5414:f0b] error retrieving output level for channel 0: -2147450879
> etc, etc.
>
>
> Jeremy Sagan
> Sagan Technology
> www.sagantech.biz
>
>
>
>
>  _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Coreaudio-api mailing list      (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
>

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: AuSampler remains active after component unloaded?
      • From: "j.s." <email@hidden>
References: 
 >AuSampler remains active after component unloaded? (From: Verizon <email@hidden>)

  • Prev by Date: Re: Remote I/O set default input source
  • Next by Date: Audio Tools for Xcode
  • Previous by thread: AuSampler remains active after component unloaded?
  • Next by thread: Re: AuSampler remains active after component unloaded?
  • Index(es):
    • Date
    • Thread