• 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: "j.s." <email@hidden>
  • Date: Thu, 30 Aug 2012 07:52:28 -0400

Hello Brian,

Thanks for the reply. I think this is on the right track however "myTimerName" is undeclared. This is not my timer, it is from the AUSampler plug-in.

Jeremy Sagan
Sagan Technology
www.sagantech.biz



On Aug 29, 2012, at 1:45 PM, Brian Hall <email@hidden> wrote:

> - (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


 _______________________________________________
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

References: 
 >AuSampler remains active after component unloaded? (From: Verizon <email@hidden>)
 >Re: AuSampler remains active after component unloaded? (From: Brian Hall <email@hidden>)

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