Bug 227439

Summary: RealtimeIncomingAudioSourceCocoa should support other sample rate than 48000
Product: WebKit Reporter: youenn fablet <youennf>
Component: WebRTCAssignee: youenn fablet <youennf>
Status: RESOLVED FIXED    
Severity: Normal CC: eric.carlson, ews-watchlist, glenn, hta, jer.noble, philipj, sergio, tommyw, webkit-bug-importer, youennf
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch
none
Patch for landing
none
Patch for landing
none
Patch for landing
none
Patch for landing ews-feeder: commit-queue-

Description youenn fablet 2021-06-28 02:38:04 PDT
Log number of frames and chunks in RealtimeIncomingAudioSourceCocoa
Comment 1 youenn fablet 2021-06-28 02:46:13 PDT
Created attachment 432376 [details]
Patch
Comment 2 youenn fablet 2021-06-28 04:53:26 PDT
rdar://79672067
Comment 3 youenn fablet 2021-06-28 04:54:56 PDT
Created attachment 432382 [details]
Patch
Comment 4 Eric Carlson 2021-06-28 09:19:21 PDT
Comment on attachment 432382 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=432382&action=review

> Source/WebCore/ChangeLog:8
> +        We reduced memory allocations by early allocating buffers for the most often used sample rate (48000), but this broken other sample rates, like for G722.

s/this broken/this broke/
Comment 5 youenn fablet 2021-06-28 23:58:26 PDT
Created attachment 432456 [details]
Patch for landing
Comment 6 EWS 2021-06-29 09:56:03 PDT
Eric Carlsom found in /Volumes/Data/worker/Commit-Queue/build/Source/WebCore/ChangeLog does not appear to be a valid reviewer according to contributors.json.
/Volumes/Data/worker/Commit-Queue/build/Source/WebCore/ChangeLog neither lists a valid reviewer nor contains the string "Unreviewed" or "Rubber stamp" (case insensitive).
Comment 7 youenn fablet 2021-06-30 02:07:36 PDT
Created attachment 432576 [details]
Patch for landing
Comment 8 youenn fablet 2021-07-01 00:45:35 PDT
Created attachment 432663 [details]
Patch for landing
Comment 9 youenn fablet 2021-07-01 01:14:25 PDT
Created attachment 432668 [details]
Patch for landing
Comment 10 EWS 2021-07-01 03:19:31 PDT
Committed r279459 (239315@main): <https://commits.webkit.org/239315@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 432668 [details].