Bug 217497

Summary: Move some audio buffer management related files from folder "mac" to folder "cocoa"
Product: WebKit Reporter: Peng Liu <peng.liu6>
Component: MediaAssignee: Peng Liu <peng.liu6>
Status: RESOLVED FIXED    
Severity: Normal CC: eric.carlson, ews-watchlist, glenn, jer.noble, philipj, sergio, webkit-bug-importer, youennf
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
ews-feeder: commit-queue-
Patch
none
Patch
none
Patch none

Description Peng Liu 2020-10-08 16:04:49 PDT
Move some audio buffer management related files from folder “mac” to folder “cocoa”
Comment 1 Peng Liu 2020-10-08 16:18:28 PDT
Created attachment 410893 [details]
Patch
Comment 2 Peng Liu 2020-10-08 19:46:30 PDT
Created attachment 410902 [details]
Patch
Comment 3 Peng Liu 2020-10-08 20:37:29 PDT
Created attachment 410904 [details]
Patch
Comment 4 Peng Liu 2020-10-08 20:50:07 PDT
Created attachment 410905 [details]
Patch
Comment 5 youenn fablet 2020-10-09 05:53:07 PDT
Comment on attachment 410905 [details]
Patch

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

> Source/WebCore/platform/audio/cocoa/CAAudioStreamDescription.hSource/WebCore/platform/audio/mac/CAAudioStreamDescription.h:69
> +    AudioStreamBasicDescription& streamDescription();

Why not keeping them inline.
If not with the declaration, we can keep them as inline in the header.
Comment 6 Peng Liu 2020-10-09 09:56:21 PDT
Comment on attachment 410905 [details]
Patch

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

>> Source/WebCore/platform/audio/cocoa/CAAudioStreamDescription.hSource/WebCore/platform/audio/mac/CAAudioStreamDescription.h:69
>> +    AudioStreamBasicDescription& streamDescription();
> 
> Why not keeping them inline.
> If not with the declaration, we can keep them as inline in the header.

We already have WEBCORE_EXPORT on the class, so the style checker will complain if we keep them as inline.
Comment 7 EWS 2020-10-09 10:10:17 PDT
Committed r268266: <https://trac.webkit.org/changeset/268266>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 410905 [details].
Comment 8 Radar WebKit Bug Importer 2020-10-09 10:11:19 PDT
<rdar://problem/70142943>