Changeset 228426 in webkit
- Timestamp:
- Feb 13, 2018 11:08:51 AM (6 years ago)
- Location:
- tags/Safari-605.1.27.1/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
tags/Safari-605.1.27.1/Source/WebCore/ChangeLog
r228286 r228426 1 2018-02-12 Jason Marcell <jmarcell@apple.com> 2 3 Apply patch. rdar://problem/37485750 4 5 CoreAudioCaptureSourceIOSListener should be a WebProcess singleton 6 7 2018-02-12 Youenn Fablet <youenn@apple.com> 8 9 CoreAudioCaptureSourceIOSListener should be a WebProcess singleton 10 https://bugs.webkit.org/show_bug.cgi?id=182606 11 <rdar://problem/37470882> 12 13 Reviewed by Eric Carlson. 14 15 Covered by manual testing. 16 In case shared unit is suspended, unsuspend it when creating a new audio source. 17 This creation should only happen when WebKit iOS is foregrounded. 18 19 * platform/mediastream/mac/CoreAudioCaptureSource.cpp: 20 (WebCore::CoreAudioCaptureSource::CoreAudioCaptureSource): 21 1 22 2018-02-08 Jason Marcell <jmarcell@apple.com> 2 23 -
tags/Safari-605.1.27.1/Source/WebCore/platform/mediastream/mac/CoreAudioCaptureSource.cpp
r225395 r228426 725 725 726 726 unit.addClient(*this); 727 728 #if PLATFORM(IOS) 729 // We ensure that we unsuspend ourselves on the constructor as a capture source 730 // is created when getUserMedia grants access which only happens when the process is foregrounded. 731 if (unit.isSuspended()) 732 unit.reconfigureAudioUnit(); 733 #endif 727 734 } 728 735
Note: See TracChangeset
for help on using the changeset viewer.