Changeset 294839 in webkit
- Timestamp:
- May 25, 2022, 4:49:37 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
r294838 r294839 1 2022-05-19 Alan Coon <alancoon@apple.com> 2 3 Cherry-pick r293728. rdar://problem/92362769 4 5 Fix buggy assert in CoreAudioSharedUnit::configureSpeakerProc 6 https://bugs.webkit.org/show_bug.cgi?id=240001 7 8 Reviewed by Eric Carlson. 9 10 Manually tested. 11 12 * platform/mediastream/mac/CoreAudioCaptureSource.cpp: 13 Initialize the sampleRate field before using it. 14 15 Canonical link: https://commits.webkit.org/250216@main 16 git-svn-id: https://svn.webkit.org/repository/webkit/trunk@293728 268f45cc-cd09-0410-ab3c-d52691b4dbfc 17 18 2022-05-03 Youenn Fablet <youenn@apple.com> 19 20 Fix buggy assert in CoreAudioSharedUnit::configureSpeakerProc 21 https://bugs.webkit.org/show_bug.cgi?id=240001 22 23 Reviewed by Eric Carlson. 24 25 Manually tested. 26 27 * platform/mediastream/mac/CoreAudioCaptureSource.cpp: 28 Initialize the sampleRate field before using it. 29 1 30 2022-05-19 Alan Coon <alancoon@apple.com> 2 31 -
branches/safari-613-branch/Source/WebCore/platform/mediastream/mac/CoreAudioCaptureSource.cpp
r294838 r294839 347 347 Locker locker { m_speakerSamplesProducerLock }; 348 348 if (m_speakerSamplesProducer) { 349 speakerProcFormat = m_speakerSamplesProducer->format().streamDescription(); 349 350 ASSERT(speakerProcFormat.mSampleRate == sampleRate); 350 speakerProcFormat = m_speakerSamplesProducer->format().streamDescription();351 351 } else { 352 352 err = PAL::AudioUnitGetProperty(m_ioUnit, kAudioUnitProperty_StreamFormat, kAudioUnitScope_Input, outputBus, &speakerProcFormat, &size);
Note:
See TracChangeset
for help on using the changeset viewer.