Closed Bug 2072475 Opened 2 months ago Closed 2 months ago

Update libcubeb to 9cb63e16

Categories

(Core :: Audio/Video: cubeb, task)

task

Tracking

()

RESOLVED FIXED
158 Branch
Tracking Status
firefox158 --- fixed

People

(Reporter: kinetik, Assigned: kinetik)

References

(Blocks 1 open bug)

Details

Attachments

(1 external file)

Update libcubeb from f0bd97db8cd33dc3e5a1d27b689eed2e3434b65c to 9cb63e16ae72c9b672f681d3b3991e953abf7a62.

This imports upstream fixes for AAudio state-change hangs, unpublished timing information, latency state on stream reuse, and triple-buffer initialization. It also updates the Copy/ConstructDefault helper linkage and adds upstream regression tests.

Blocks: 1831033, clang-23
See Also: → 2067695

Import upstream fixes for AAudio state-change hangs, unpublished timing
information, latency state on stream reuse, and triple-buffer initialization.
Also update the Copy/ConstructDefault helper linkage and add upstream
regression tests. Preserve the four existing Firefox-specific patches.

The AAudio state-change fix addresses the Android hang tracked in bug 1831033
(https://github.com/mozilla/cubeb/pull/857). The helper linkage change removes
the clang 23 -Wunused-template build failure relevant to bug 2039813
(https://github.com/mozilla/cubeb/pull/860).

This includes the earlier update proposed in bug 2067695 and a local patch
for the regression-test race reported in bug 2067695 comment 1. Notify while
holding the mutex so the waiter cannot destroy the condition variable before
notify_one returns.

Validation: libcubeb and gtest sources compile on macOS; both triple-buffer
tests pass; a 10,000-iteration notification-lifetime stress test passes under
ThreadSanitizer; lint passes.

Duplicate of this bug: 2067695
See Also: 2067695 →
Attachment #9643068 - Attachment description: Bug 2072475 - Update libcubeb to 9cb63e16. r?#cubeb-reviewers → Bug 2072475 - Update libcubeb to 17a2754e. r?#cubeb-reviewers
Attachment #9643068 - Attachment description: Bug 2072475 - Update libcubeb to 17a2754e. r?#cubeb-reviewers → Bug 2072475 - Update libcubeb to e13d9c88. r?#cubeb-reviewers
Status: ASSIGNED → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 158 Branch
QA Whiteboard: [qa-triage-done-c159/b158]
See Also: → 1989173
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: