[webkit-changes] [WebKit/WebKit] d6d9a4: AudioSampleBufferConverter Incorrectly set number ...

Jean-Yves Avenard noreply at github.com
Sat Dec 14 22:05:01 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: d6d9a451a70c766a8c379ee933028fb12aeefebe
      https://github.com/WebKit/WebKit/commit/d6d9a451a70c766a8c379ee933028fb12aeefebe
  Author: Jean-Yves Avenard <jya at apple.com>
  Date:   2024-12-14 (Sat, 14 Dec 2024)

  Changed paths:
    M Source/WebCore/platform/audio/cocoa/AudioSampleBufferConverter.mm
    M Source/WebCore/platform/graphics/cocoa/CMUtilities.mm

  Log Message:
  -----------
  AudioSampleBufferConverter Incorrectly set number of out packets to 1
https://bugs.webkit.org/show_bug.cgi?id=284702
rdar://141499128

Reviewed by Eric Carlson.

Regression introduced in 287362 at main.
We partially revert back to the proper frame calculation when the source is PCM.

Also change the log level in CMUtilities getPacketDescriptions as it's unnecessary verbose
when used to compress PCM data.

* Source/WebCore/platform/audio/cocoa/AudioSampleBufferConverter.mm:
(WebCore::AudioSampleBufferConverter::provideSourceDataNumOutputPackets):

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



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list