[webkit-changes] [WebKit/WebKit] 013ff9: [Cocoa] Potential channel count mismatch in CARing...

Jer Noble noreply at github.com
Mon Oct 24 11:39:56 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 013ff9c5d6163358e188b5778070bc1a756f9900
      https://github.com/WebKit/WebKit/commit/013ff9c5d6163358e188b5778070bc1a756f9900
  Author: Jer Noble <jer.noble at apple.com>
  Date:   2022-10-24 (Mon, 24 Oct 2022)

  Changed paths:
    M Source/WebCore/platform/audio/cocoa/CARingBuffer.cpp

  Log Message:
  -----------
  [Cocoa] Potential channel count mismatch in CARingBuffer FetchABL
https://bugs.webkit.org/show_bug.cgi?id=246951
rdar://100412139

Reviewed by Youenn Fablet.

In the case of a mismatch between the AudioFormatList's mNumberBuffers and the ring buffer's
m_pointers channel data, pick the minimum of the two to iterate over.

* Source/WebCore/platform/audio/cocoa/CARingBuffer.cpp:
(WebCore::FetchABL):

Canonical link: https://commits.webkit.org/255924@main




More information about the webkit-changes mailing list