Skip to content

Commit

Permalink
8237078: [macOS] Media build broken on XCode 11
Browse files Browse the repository at this point in the history
Reviewed-by: kcr, almatvee
  • Loading branch information
Johan Vos committed Jan 22, 2020
1 parent 20325e1 commit be22e85
Showing 1 changed file with 1 addition and 3 deletions.
Expand Up @@ -108,9 +108,7 @@ -(AVAudioMix*) mixer {
if (noErr == MTAudioProcessingTapCreate(kCFAllocatorDefault, &callbacks, if (noErr == MTAudioProcessingTapCreate(kCFAllocatorDefault, &callbacks,
kMTAudioProcessingTapCreationFlag_PreEffects, kMTAudioProcessingTapCreationFlag_PreEffects,
&audioProcessingTap)) { &audioProcessingTap)) {
objc_msgSend(audioMixInputParameters, [audioMixInputParameters setAudioTapProcessor:audioProcessingTap];
@selector(setAudioTapProcessor :),
audioProcessingTap);


CFRelease(audioProcessingTap); // owned by the mixer now CFRelease(audioProcessingTap); // owned by the mixer now
mixer.inputParameters = @[audioMixInputParameters]; mixer.inputParameters = @[audioMixInputParameters];
Expand Down

0 comments on commit be22e85

Please sign in to comment.