Skip to content

Commit

Permalink
Fix init method in levelmeter
Browse files Browse the repository at this point in the history
  • Loading branch information
jnordberg committed May 31, 2012
1 parent 5f5fac8 commit fecfadc
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions Utilities/NVSoundLevelMeter.m
Expand Up @@ -9,9 +9,12 @@
#import "NVSoundLevelMeter.h"

@implementation NVSoundLevelMeter
- (id) init {
[super init];
dBLevel = 0.0f;

- (id)init {
self = [super init];
if (self) {
dBLevel = 0.0f;
}
return self;
}

Expand Down

0 comments on commit fecfadc

Please sign in to comment.