[Core Audio] Remove redundant initialization
These variables will be zero initialized by the class already. Signed-off-by: Christopher Snowhill <kode54@gmail.com>swiftingly
parent
2c7285382c
commit
d390febe72
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue