[Core Audio] Remove redundant initialization

These variables will be zero initialized by the class already.

Signed-off-by: Christopher Snowhill <kode54@gmail.com>
swiftingly
Christopher Snowhill 2022-06-10 18:42:37 -07:00
parent 2c7285382c
commit d390febe72
1 changed files with 0 additions and 10 deletions

View File

@ -199,18 +199,8 @@ static OSStatus renderCallback(void *inRefCon, AudioUnitRenderActionFlags *ioAct
self = [super init]; self = [super init];
if(self) { if(self) {
outputController = c; outputController = c;
_au = nil;
_eq = NULL;
_bufferSize = 0;
volume = 1.0; volume = 1.0;
outputDeviceID = -1; outputDeviceID = -1;
listenerapplied = NO;
running = NO;
started = NO;
stopNext = NO;
restarted = NO;
streamFormatStarted = NO;
atomic_init(&bytesRendered, 0); atomic_init(&bytesRendered, 0);
atomic_init(&bytesHdcdSustained, 0); atomic_init(&bytesHdcdSustained, 0);