• 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
Fwd: How does one update a view position during a core audio render callback?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Fwd: How does one update a view position during a core audio render callback?


  • Subject: Fwd: How does one update a view position during a core audio render callback?
  • From: "Dave O'Neill" <email@hidden>
  • Date: Sat, 07 Mar 2015 14:24:50 -0800


---------- Forwarded message ----------
From: Dave O'Neill <email@hidden>
Date: Sat, Mar 7, 2015 at 2:24 PM
Subject: Re: How does one update a view position during a core audio render callback?
To: Patrick Collins <email@hidden>


Here's an example https://gist.github.com/dave234/72bce8798dc7b1ade48b 

Try moving slider around and see it block the timer.

Then comment out:

 NSTimer *timer = [NSTimer scheduledTimerWithTimeInterval:1.0 / 60.0 target:self selector:@selector(moveBox) userInfo:nil repeats:1];

and uncomment :

    NSTimer *timer = [NSTimer timerWithTimeInterval:1.0 / 60.0 target:self selector:@selector(moveBox) userInfo:nil repeats:1];
    [[NSRunLoop mainRunLoop]addTimer:timer forMode:NSRunLoopCommonModes];

and try it again;


 _______________________________________________
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: 
 >How does one update a view position during a core audio render callback? (From: "Patrick J. Collins" <email@hidden>)
 >Fwd: How does one update a view position during a core audio render callback? (From: "Dave O'Neill" <email@hidden>)
 >Re: Fwd: How does one update a view position during a core audio render callback? (From: "Patrick J. Collins" <email@hidden>)
 >Re: Fwd: How does one update a view position during a core audio render callback? (From: "Dave O'Neill" <email@hidden>)
 >Re: How does one update a view position during a core audio render callback? (From: Patrick Collins <email@hidden>)

  • Prev by Date: Re: How does one update a view position during a core audio render callback?
  • Next by Date: Re: How does one update a view position during a core audio render callback?
  • Previous by thread: Re: How does one update a view position during a core audio render callback?
  • Next by thread: Re: Fwd: How does one update a view position during a core audio render callback?
  • Index(es):
    • Date
    • Thread