Bug 227250 - Not all uses of AudioToolbox framework use soft linking
Summary: Not all uses of AudioToolbox framework use soft linking
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Jean-Yves Avenard [:jya]
URL:
Keywords: InRadar
Depends on: 227208 227434
Blocks: 227110
  Show dependency treegraph
 
Reported: 2021-06-22 03:30 PDT by Jean-Yves Avenard [:jya]
Modified: 2021-06-28 05:29 PDT (History)
16 users (show)

See Also:


Attachments
Patch (50.79 KB, patch)
2021-06-22 04:14 PDT, Jean-Yves Avenard [:jya]
no flags Details | Formatted Diff | Diff
Patch (302.28 KB, patch)
2021-06-23 08:22 PDT, Jean-Yves Avenard [:jya]
no flags Details | Formatted Diff | Diff
Patch (302.29 KB, patch)
2021-06-23 08:29 PDT, Jean-Yves Avenard [:jya]
no flags Details | Formatted Diff | Diff
Patch (302.57 KB, patch)
2021-06-23 16:13 PDT, Jean-Yves Avenard [:jya]
no flags Details | Formatted Diff | Diff
Patch (305.14 KB, patch)
2021-06-23 16:42 PDT, Jean-Yves Avenard [:jya]
ews-feeder: commit-queue-
Details | Formatted Diff | Diff
Patch (306.06 KB, patch)
2021-06-23 17:11 PDT, Jean-Yves Avenard [:jya]
ews-feeder: commit-queue-
Details | Formatted Diff | Diff
Patch (306.88 KB, patch)
2021-06-23 17:27 PDT, Jean-Yves Avenard [:jya]
no flags Details | Formatted Diff | Diff
Patch (307.61 KB, patch)
2021-06-23 18:06 PDT, Jean-Yves Avenard [:jya]
ews-feeder: commit-queue-
Details | Formatted Diff | Diff
Patch (307.40 KB, patch)
2021-06-23 18:29 PDT, Jean-Yves Avenard [:jya]
no flags Details | Formatted Diff | Diff
Patch (307.39 KB, patch)
2021-06-23 19:25 PDT, Jean-Yves Avenard [:jya]
no flags Details | Formatted Diff | Diff
Patch (327.30 KB, patch)
2021-06-27 19:17 PDT, Jean-Yves Avenard [:jya]
no flags Details | Formatted Diff | Diff
Patch (321.76 KB, patch)
2021-06-27 22:29 PDT, Jean-Yves Avenard [:jya]
ews-feeder: commit-queue-
Details | Formatted Diff | Diff
Patch (319.65 KB, patch)
2021-06-28 00:01 PDT, Jean-Yves Avenard [:jya]
ews-feeder: commit-queue-
Details | Formatted Diff | Diff
Patch (307.00 KB, patch)
2021-06-28 01:49 PDT, Jean-Yves Avenard [:jya]
ews-feeder: commit-queue-
Details | Formatted Diff | Diff
Patch (319.75 KB, patch)
2021-06-28 02:12 PDT, Jean-Yves Avenard [:jya]
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jean-Yves Avenard [:jya] 2021-06-22 03:30:55 PDT
Noticed while working on bug 227205.

On iOS for some use of the AudioToolbox, soft-linking is used but not others.
Additionally, there are multiple definition of the macro to define some methods like AudioConverterNew where the macro to link it is used unnecessarily 4 times.
Comment 1 Radar WebKit Bug Importer 2021-06-22 03:31:17 PDT
<rdar://problem/79606090>
Comment 2 Jean-Yves Avenard [:jya] 2021-06-22 04:14:25 PDT
Created attachment 431956 [details]
Patch
Comment 3 Jean-Yves Avenard [:jya] 2021-06-22 05:16:04 PDT
Depends on bug 227208 to build
Comment 4 Eric Carlson 2021-06-22 10:01:39 PDT
Comment on attachment 431956 [details]
Patch

r=me once the bots are happy
Comment 5 Jean-Yves Avenard [:jya] 2021-06-23 08:22:39 PDT
Created attachment 432043 [details]
Patch
Comment 6 Jean-Yves Avenard [:jya] 2021-06-23 08:29:46 PDT
Created attachment 432047 [details]
Patch

rebase
Comment 7 Jean-Yves Avenard [:jya] 2021-06-23 16:13:10 PDT
Created attachment 432102 [details]
Patch

fix compilation on iOS/tvOS
Comment 8 Jean-Yves Avenard [:jya] 2021-06-23 16:42:08 PDT
Created attachment 432108 [details]
Patch

rebase
Comment 9 Jean-Yves Avenard [:jya] 2021-06-23 17:11:05 PDT
Created attachment 432116 [details]
Patch

Fix iOS compilation
Comment 10 Jean-Yves Avenard [:jya] 2021-06-23 17:27:05 PDT
Created attachment 432119 [details]
Patch

Fix tvOS compilation
Comment 11 Eric Carlson 2021-06-23 17:39:09 PDT
Comment on attachment 432119 [details]
Patch

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

> Source/WebCore/platform/graphics/avfoundation/objc/MediaSampleAVFObjC.mm:39
> +// WTF_DECLARE_CF_TYPE_TRAIT(CMSampleBuffer);

This should be removed.

> Source/WebCore/platform/graphics/cocoa/WebCoreDecompressionSession.mm:46
> +// WTF_DECLARE_CF_TYPE_TRAIT(CMSampleBuffer);

Ditto.
Comment 12 Jean-Yves Avenard [:jya] 2021-06-23 18:06:42 PDT
Created attachment 432121 [details]
Patch

Apply comments
Comment 13 Jean-Yves Avenard [:jya] 2021-06-23 18:29:11 PDT
Created attachment 432122 [details]
Patch

fix build #459
Comment 14 EWS 2021-06-23 19:20:51 PDT
ChangeLog entry in Source/WebKit/ChangeLog contains OOPS!.
Comment 15 Jean-Yves Avenard [:jya] 2021-06-23 19:25:48 PDT
Created attachment 432127 [details]
Patch

Fix changelog
Comment 16 EWS 2021-06-23 21:13:14 PDT
Committed r279208 (239094@main): <https://commits.webkit.org/239094@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 432127 [details].
Comment 17 Ryan Haddad 2021-06-25 10:18:45 PDT
I reverted this in https://commits.webkit.org/239167@main because it broke the Windows build.
Comment 18 Jean-Yves Avenard [:jya] 2021-06-27 19:17:54 PDT
Created attachment 432363 [details]
Patch

Re-ordered some definitions as they didn't exist on Windows
Comment 19 EWS 2021-06-27 20:30:24 PDT
Committed r279322 (239198@main): <https://commits.webkit.org/239198@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 432363 [details].
Comment 20 WebKit Commit Bot 2021-06-27 22:04:40 PDT
Re-opened since this is blocked by bug 227434
Comment 21 Jean-Yves Avenard [:jya] 2021-06-27 22:29:27 PDT
Created attachment 432365 [details]
Patch

Turned out, those non-existing symbols are in use on Windows
Comment 22 Jean-Yves Avenard [:jya] 2021-06-28 00:01:04 PDT
Created attachment 432367 [details]
Patch
Comment 23 Jean-Yves Avenard [:jya] 2021-06-28 01:49:54 PDT
Created attachment 432372 [details]
Patch
Comment 24 Jean-Yves Avenard [:jya] 2021-06-28 02:12:46 PDT
Created attachment 432374 [details]
Patch
Comment 25 EWS 2021-06-28 05:29:48 PDT
Committed r279335 (239204@main): <https://commits.webkit.org/239204@main>

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