Re: what should I understand from kAudioQueueProperty_CurrentLevelMeterDB

2011-05-09 Thread Graham Cox
On 08/05/2011, at 8:28 PM, Niran Bala wrote: How should I interpret this value? When I mute the Mic on my laptop, this value is -120 My GUESS (only) would be that this is the line level, which is logical, since it couldn't possibly be actual sound pressure level, since the signal is

Re: NSTextView and NSTextContainer size clipping area

2011-05-09 Thread Rimas M.
As far as I remember, text container inset sets margins from both sides: left and right and/or top and bottom. If text container position is important according to the text view, this will not work. 2011/5/8 Kyle Sluder kyle.slu...@gmail.com On May 8, 2011, at 3:27 AM, Дмитрий Николаев

transitionWithView:duration:options:animations:completion: still defeats me

2011-05-09 Thread Roland King
I seem to have a lot of trouble with this method! A few months ago I had my own custom drawRect: and that was messing it up, this time I just have a simple UIView with some controls on it, nothing clever. One of the controls is given by the property 'complexity'. What I want is for my UIView to

Re: what should I understand from kAudioQueueProperty_CurrentLevelMeterDB

2011-05-09 Thread Wim Lewis
On 8 May 2011, at 11:07 PM, Graham Cox wrote: You need to find in the documentation or ask what 0dB is considered to be in this measurement system. As I understand it, the 0dB reference for a VU meter is usually the maximum volume the system can reproduce without distortion (maybe plus some

Re: what should I understand from kAudioQueueProperty_CurrentLevelMeterDB

2011-05-09 Thread Kyle Sluder
On Sun, May 8, 2011 at 3:28 AM, Niran Bala niran_j...@yahoo.com wrote: Hi, I am trying to measure dB levels of my voice. This has nothing to do with Cocoa. You should instead ask your question on the coreaudio-api list. --Kyle Sluder ___ Cocoa-dev

Re: transitionWithView:duration:options:animations:completion: still defeats me

2011-05-09 Thread Matt Neuburg
Date: Mon, 09 May 2011 21:43:38 +0800 From: Roland King r...@rols.org Subject: transitionWithView:duration:options:animations:completion: still defeats me I seem to have a lot of trouble with this method! A few months ago I had my own custom drawRect: and that was messing it up,

[ANN] NanoStore 2.0 is now available

2011-05-09 Thread Tito Ciuro
Hello everyone, Last year I announced NanoStore, a SQLite-based engine to store and retrieve dictionaries while fully indexing its contents. NanoStore made some people happy, but I quickly realized that it could be better as feedback poured in. While NanoStore was simple and fairly efficient,

Re: superview

2011-05-09 Thread Conrad Shultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 (Putting this back on list for anyone else who is interested; see additional exchange below.) As for completing your understanding, this is presumably handled by private API calls that shouldn't concern you. (If you really want a hint as to what

setState has no effect on an NSButton

2011-05-09 Thread Martin Batholdy
Hi, I have a preference window with four NSButtons that are all connected to a method and an IBOutlet: IBOutlet NSButton *buttonA; IBOutlet NSButton *buttonB; IBOutlet NSButton *buttonC; IBOutlet NSButton *buttonD; NSUserDefaults *prefs; Now I would like to set the state of these buttons

Re: setState has no effect on an NSButton

2011-05-09 Thread Howard Siegel
From those symptons, it certainly sounds like there is a missing/crossed connection in IB for those buttons or you are mising @property/@synthesize lines for those buttons. - h On Mon, May 9, 2011 at 18:19, Martin Batholdy batho...@googlemail.comwrote: Hi, I have a preference window with

Re: setState has no effect on an NSButton

2011-05-09 Thread Quincey Morris
On May 9, 2011, at 18:19, Martin Batholdy wrote: -(void)awakeFromNib { prefs = [NSUserDefaults standardUserDefaults]; BOOL st = [prefs boolForKey:@optionA]; if(st == YES){ [buttonA setState:NSOnState]; } else if(st == NO){

Re: setState has no effect on an NSButton

2011-05-09 Thread Graham Cox
On 10/05/2011, at 11:19 AM, Martin Batholdy wrote: BOOL st = [prefs boolForKey:@optionA]; if(st == YES){ [buttonA setState:NSOnState]; } else if(st == NO){ [buttonA setState:NSOffState]; } Apart from the advice already received, you