Skip to content

Commit

Permalink
MacAudioOutputHelper でコメントアウトしていた処理をコメントインする
Browse files Browse the repository at this point in the history
  • Loading branch information
torikizi committed Sep 21, 2023
1 parent 88b6b4a commit 35a471e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/mac/mac_audio_output_helper.mm
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,9 @@ - (void)audioSession:(RTC_OBJC_TYPE(RTCAudioSession) *)audioSession
}

MacAudioOutputHelper::~MacAudioOutputHelper() {
// あった方が良いと思ったが、 libwebrtc のサンプルにないので消しておく
// RTC_OBJC_TYPE(RTCAudioSession)* session = [RTC_OBJC_TYPE(RTCAudioSession) sharedInstance];
// [session removeDelegate:adapter_];
// libwebrtc のサンプルにないが、あった方が良いのでここで removeDelegate を呼ぶ
RTC_OBJC_TYPE(RTCAudioSession)* session = [RTC_OBJC_TYPE(RTCAudioSession) sharedInstance];
[session removeDelegate:adapter_];
adapter_ = nil;
}

Expand Down

0 comments on commit 35a471e

Please sign in to comment.