Re: Beep ( frequency, duration)

2014-12-30 Thread Jens Alfke
On Dec 29, 2014, at 2:12 PM, Michael Crawford mdcrawf...@gmail.com wrote: My input does come from another thread, reading ogg vorbis, flac, wave or mp3 files that write into a circular buffer. If you're doing this for your own entertainment or education, going the low-level route like this

Re: Beep ( frequency, duration)

2014-12-30 Thread Michael Crawford
If you're doing this for your own entertainment or education I would tell you why I'm doing this, but to do so would just lead to Chris Hanson bringing down the banhammer on me again. ;-D Mike Michael David Crawford, Consulting Software Engineer mdcrawf...@gmail.com

Re: Beep ( frequency, duration)

2014-12-30 Thread Michael Crawford
I will mention that I stopped working on Ogg Frog because there was an architectural problem I could not solve. I may have the solution at hand now but it's going to be a while before I actually try it. The input codecs weren't the problem, I was using Xiph's code for Ogg Vorbis and FLAC, some

Re: Replace -lockFocus with Block-Based Drawing Method

2014-12-30 Thread Jerry Krinock
Just to clarify on the guidelines for using -lockFocus in the Resolution Independent world… Apple’s advice to avoid -lockFocus [1] only applies to drawing into NSImage objects, which is called “off-screen drawing”. Using -lockFocus in -[NSView drawRect] is, I suppose, “on-screen drawing”, and

Re: Replace -lockFocus with Block-Based Drawing Method

2014-12-30 Thread Ken Thomases
On Dec 30, 2014, at 9:57 PM, Jerry Krinock je...@ieee.org wrote: Just to clarify on the guidelines for using -lockFocus in the Resolution Independent world… Apple’s advice to avoid -lockFocus [1] only applies to drawing into NSImage objects, which is called “off-screen drawing”. Using

Re: Replace -lockFocus with Block-Based Drawing Method

2014-12-30 Thread Jerry Krinock
On 2014 Dec 30, at 20:22, Ken Thomases k...@codeweavers.com wrote: Why are you using -lockFocus inside of -drawRect:? Well, I would say because I never paid much attention to drawing, and copied or inherited that code from someone else :)) Anyhow, I just deleted -lockFocus and