Changeset 294841 in webkit
- Timestamp:
- May 25, 2022, 4:49:44 PM (4 years ago)
- Location:
- branches/safari-613-branch/Source/WebCore
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
platform/mediastream/mac/CoreAudioCaptureSource.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/safari-613-branch/Source/WebCore/ChangeLog
r294840 r294841 1 2022-05-19 Alan Coon <alancoon@apple.com> 2 3 Cherry-pick r293827. rdar://problem/92624773 4 5 replaceTrack with different constraints stops sending packets 6 https://bugs.webkit.org/show_bug.cgi?id=239978 7 <rdar://problem/92624773> 8 9 Reviewed by Eric Carlson. 10 11 We should always reconfigure the microphone processor even if we are not using it, 12 as VPIO expects that input and output formats should match. 13 14 Manually tested with https://bugs.webkit.org/show_bug.cgi?id=239978 and https://jsfiddle.net/72qsLw9a/. 15 A follow-up should allow to put more common code between CoreAudioSharedUnit and MockAudioSharedUnit 16 so that we can write a regression test. 17 18 * platform/mediastream/mac/CoreAudioCaptureSource.cpp: 19 20 Canonical link: https://commits.webkit.org/250300@main 21 git-svn-id: https://svn.webkit.org/repository/webkit/trunk@293827 268f45cc-cd09-0410-ab3c-d52691b4dbfc 22 23 2022-05-05 Youenn Fablet <youenn@apple.com> 24 25 replaceTrack with different constraints stops sending packets 26 https://bugs.webkit.org/show_bug.cgi?id=239978 27 <rdar://problem/92624773> 28 29 Reviewed by Eric Carlson. 30 31 We should always reconfigure the microphone processor even if we are not using it, 32 as VPIO expects that input and output formats should match. 33 34 Manually tested with https://bugs.webkit.org/show_bug.cgi?id=239978 and https://jsfiddle.net/72qsLw9a/. 35 A follow-up should allow to put more common code between CoreAudioSharedUnit and MockAudioSharedUnit 36 so that we can write a regression test. 37 38 * platform/mediastream/mac/CoreAudioCaptureSource.cpp: 39 1 40 2022-05-19 Alan Coon <alancoon@apple.com> 2 41 -
branches/safari-613-branch/Source/WebCore/platform/mediastream/mac/CoreAudioCaptureSource.cpp
r294839 r294841 299 299 ASSERT(isMainThread()); 300 300 301 if (!isProducingMicrophoneSamples())302 return noErr;303 304 301 AURenderCallbackStruct callback = { microphoneCallback, this }; 305 302 auto err = PAL::AudioUnitSetProperty(m_ioUnit, kAudioOutputUnitProperty_SetInputCallback, kAudioUnitScope_Global, inputBus, &callback, sizeof(callback));
Note:
See TracChangeset
for help on using the changeset viewer.