Add a better mock for audio units used by CoreAudioSharedUnit
Created attachment 459041 [details] Patch
Created attachment 459111 [details] Patch
Created attachment 459112 [details] Patch
Created attachment 459113 [details] Patch
Comment on attachment 459113 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=459113&action=review > Source/WebCore/platform/mediastream/mac/MockAudioSharedUnit.mm:266 > + auto sampleTime = PAL::toMediaTime(startTime).toFloat(); Can you just use `sampleTime = PAL::CMTimeGetSeconds(startTime)`?
(In reply to Eric Carlson from comment #5) > Comment on attachment 459113 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=459113&action=review > > > Source/WebCore/platform/mediastream/mac/MockAudioSharedUnit.mm:266 > > + auto sampleTime = PAL::toMediaTime(startTime).toFloat(); > > Can you just use `sampleTime = PAL::CMTimeGetSeconds(startTime)`? Yes, that seems better.
Comment on attachment 459113 [details] Patch win failure is unrelated. Marking as r?
Created attachment 459221 [details] Patch for landing
Committed r294102 (250487@main): <https://commits.webkit.org/250487@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 459221 [details].
<rdar://problem/93171741>