Changeset 262843 in webkit
- Timestamp:
- Jun 10, 2020, 9:51:19 AM (5 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r262841 r262843 1 2020-06-10 Youenn Fablet <youenn@apple.com> 2 3 BaseAudioSharedUnit does not need to restart its audio unit at resume time. 4 https://bugs.webkit.org/show_bug.cgi?id=213021 5 6 Reviewed by Eric Carlson. 7 8 Removing a case that should not happen, and was guarded by ASSERT. 9 Keeping ASSERT to make sure we do not break this assumption. 10 11 * platform/mediastream/mac/BaseAudioSharedUnit.cpp: 12 (WebCore::BaseAudioSharedUnit::resume): 13 (WebCore::BaseAudioSharedUnit::suspend): 14 1 15 2020-06-10 Youenn Fablet <youenn@apple.com> 2 16 -
trunk/Source/WebCore/platform/mediastream/mac/BaseAudioSharedUnit.cpp
r262798 r262843 178 178 179 179 ASSERT(!m_producingCount); 180 if (m_producingCount) {181 if (auto error = startUnit())182 return error;183 }184 180 185 181 forEachClient([](auto& client) { … … 202 198 client.setMuted(true); 203 199 }); 200 201 ASSERT(!m_producingCount); 204 202 205 203 return 0;
Note:
See TracChangeset
for help on using the changeset viewer.