Closed Bug 1261116 Opened 10 years ago Closed 10 years ago

libcubeb tests don't compile correctly when pulseaudio is disabled

Categories

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

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla48
Tracking Status
firefox48 --- fixed

People

(Reporter: froydnj, Assigned: froydnj)

Details

Attachments

(1 file)

libcubeb's moz.build checks MOZ_PULSEAUDIO before adding cubeb_resampler.c, but tests/test_resampler.cpp uses cubeb_resampler_fill unconditionally, leading to linking errors.
Assignee: nobody → nfroyd
Comment on attachment 8736783 [details] [diff] [review] only compile libcubeb's test_resampler if PulseAudio is enabled Review of attachment 8736783 [details] [diff] [review]: ----------------------------------------------------------------- This effectively disables the test on every other platform (the resampler is also built on Darwin, WINNT, and Android) though, so it's not exactly what we want. Probably the simplest thing for now is to also include those platforms in the test condition. r+ with that.
Attachment #8736783 - Flags: review?(kinetik) → review+
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla48
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: