From a5cdcfa810f531b7bf9ed54ed807c1b8a92bf7da Mon Sep 17 00:00:00 2001 From: Mikkel Krautz Date: Thu, 7 Feb 2013 17:22:46 +0100 Subject: MKAudioOutputSidetone: assign to self in init. --- src/MKAudioOutputSidetone.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; -- cgit v1.2.3