mirror of
https://github.com/zakk4223/CocoaSplit.git
synced 2026-05-15 14:15:50 -06:00
Cleanup some unused variables
This commit is contained in:
parent
59676688ff
commit
387972bc12
4 changed files with 6 additions and 4 deletions
|
|
@ -57,7 +57,6 @@
|
|||
|
||||
-(void)dealloc
|
||||
{
|
||||
NSLog(@"DEALLOC AUDIO");
|
||||
if (_audio_capture_output)
|
||||
{
|
||||
[_audio_capture_output setSampleBufferDelegate:nil queue:NULL];
|
||||
|
|
|
|||
|
|
@ -97,4 +97,8 @@
|
|||
|
||||
}
|
||||
|
||||
-(void)dealloc
|
||||
{
|
||||
NSLog(@"DEALLOC AVCAPTURE PLAYER");
|
||||
}
|
||||
@end
|
||||
|
|
|
|||
|
|
@ -111,7 +111,6 @@
|
|||
return NO;
|
||||
}
|
||||
|
||||
OSStatus err;
|
||||
if (![self disconnectNode:node])
|
||||
{
|
||||
NSLog(@"Remove node %@: disconnected failed", node);
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue