Cleanup some unused variables

This commit is contained in:
Zakk 2020-03-01 20:12:27 -05:00
parent 59676688ff
commit 387972bc12
4 changed files with 6 additions and 4 deletions

View file

@ -57,7 +57,6 @@
-(void)dealloc
{
NSLog(@"DEALLOC AUDIO");
if (_audio_capture_output)
{
[_audio_capture_output setSampleBufferDelegate:nil queue:NULL];

View file

@ -97,4 +97,8 @@
}
-(void)dealloc
{
NSLog(@"DEALLOC AVCAPTURE PLAYER");
}
@end

View file

@ -111,7 +111,6 @@
return NO;
}
OSStatus err;
if (![self disconnectNode:node])
{
NSLog(@"Remove node %@: disconnected failed", node);

View file

@ -24,10 +24,10 @@
{
UInt32 elementCount = 64;
OSStatus err = AudioUnitSetProperty(self.audioUnit, kAudioUnitProperty_ElementCount, kAudioUnitScope_Input, 0,&elementCount, sizeof(UInt32));
AudioUnitSetProperty(self.audioUnit, kAudioUnitProperty_ElementCount, kAudioUnitScope_Input, 0,&elementCount, sizeof(UInt32));
err = AudioUnitSetParameter(self.audioUnit, kMultiChannelMixerParam_Volume, kAudioUnitScope_Output, 0, self.volume, 0);
AudioUnitSetParameter(self.audioUnit, kMultiChannelMixerParam_Volume, kAudioUnitScope_Output, 0, self.volume, 0);
UInt32 enableVal = 1;