[webkit-changes] [WebKit/WebKit] 905c6b: Amend AudioSampleBufferConverter to support variou...
Jean-Yves Avenard
noreply at github.com
Wed Dec 11 19:44:08 PST 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 905c6be5b0c89abe3500a69ea1d1c6266d1f7451
https://github.com/WebKit/WebKit/commit/905c6be5b0c89abe3500a69ea1d1c6266d1f7451
Author: Jean-Yves Avenard <jya at apple.com>
Date: 2024-12-11 (Wed, 11 Dec 2024)
Changed paths:
M Source/WebCore/platform/audio/cocoa/AudioSampleBufferConverter.h
M Source/WebCore/platform/audio/cocoa/AudioSampleBufferConverter.mm
Log Message:
-----------
Amend AudioSampleBufferConverter to support various encoder options
https://bugs.webkit.org/show_bug.cgi?id=284355
rdar://141204354
Reviewed by Youenn Fablet.
Add support for passing various encoder options to the AudioSampleBufferConverter's AudioConverter.
The size of the compressed packet is determined by setting the AudioStreamBasicDescription's mFramesPerPacket.
Tests to follow as part of the WebCodec's WPT. No change of behaviours at this stage.
* Source/WebCore/platform/audio/cocoa/AudioSampleBufferConverter.h:
(WebCore::AudioSampleBufferConverter::preSkip const): Add method to retrieve the preSkip value after creating the AudioConverter.
Will be used to create the Opus's codec description.
* Source/WebCore/platform/audio/cocoa/AudioSampleBufferConverter.mm:
(WebCore::AudioSampleBufferConverter::initAudioConverterForSourceFormatDescription):
Canonical link: https://commits.webkit.org/287719@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