diff options
author | Mikkel Krautz <mikkel@krautz.dk> | 2013-02-07 20:22:46 +0400 |
---|---|---|
committer | Mikkel Krautz <mikkel@krautz.dk> | 2013-02-07 20:22:46 +0400 |
commit | a5cdcfa810f531b7bf9ed54ed807c1b8a92bf7da (patch) | |
tree | bf03f6d3a9b66310831da41f417c4cd4c791b089 /src | |
parent | 97d6b0db462c5022ab05a9c2164776ec6e2e0b60 (diff) |
MKAudioOutputSidetone: assign to self in init.
Diffstat (limited to 'src')
-rw-r--r-- | src/MKAudioOutputSidetone.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/MKAudioOutputSidetone.m b/src/MKAudioOutputSidetone.m index 3eae68f..597e1e9 100644 --- a/src/MKAudioOutputSidetone.m +++ b/src/MKAudioOutputSidetone.m @@ -19,7 +19,7 @@ @implementation MKAudioOutputSidetone - (id) initWithSettings:(MKAudioSettings *)settings { - if (([super init])) { + if ((self = [super init])) { memcpy(&_settings, settings, sizeof(MKAudioSettings)); _frames = [[NSMutableArray alloc] init]; _filled = 0; |