From d390febe72d8ecd535d3a35e577d2161c35530c5 Mon Sep 17 00:00:00 2001 From: Christopher Snowhill Date: Fri, 10 Jun 2022 18:42:37 -0700 Subject: [PATCH] [Core Audio] Remove redundant initialization These variables will be zero initialized by the class already. Signed-off-by: Christopher Snowhill --- Audio/Output/OutputCoreAudio.m | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/Audio/Output/OutputCoreAudio.m b/Audio/Output/OutputCoreAudio.m index 909e38957..92c2fb20e 100644 --- a/Audio/Output/OutputCoreAudio.m +++ b/Audio/Output/OutputCoreAudio.m @@ -199,18 +199,8 @@ static OSStatus renderCallback(void *inRefCon, AudioUnitRenderActionFlags *ioAct self = [super init]; if(self) { outputController = c; - _au = nil; - _eq = NULL; - _bufferSize = 0; volume = 1.0; outputDeviceID = -1; - listenerapplied = NO; - running = NO; - started = NO; - stopNext = NO; - restarted = NO; - - streamFormatStarted = NO; atomic_init(&bytesRendered, 0); atomic_init(&bytesHdcdSustained, 0);