Closed
Bug 910875
Opened 11 years ago
Closed 11 years ago
Use WEBRTC_LINUX codepaths in audio_device_impl.cc for BSD
Categories
(Core :: WebRTC: Audio/Video, defect)
Tracking
()
RESOLVED
FIXED
mozilla26
People
(Reporter: gaston, Unassigned)
References
Details
Attachments
(1 file, 1 obsolete file)
7.24 KB,
patch
|
jesup
:
review+
|
Details | Diff | Splinter Review |
Seems this was an oversight in bug 807492 .. at runtime, audio device just blows:
MEMORY ; (21:56:35:458 | 0) AUDIO DEVICE: -1;1816957440; AudioDeviceBuffer created
MEMORY ; (21:56:35:458 | 0) AUDIO DEVICE: 1 99;1816957440; AudioDeviceModuleImpl created
DEBUGINFO ; (21:56:35:458 | 0) AUDIO DEVICE: 1 99;1816957440; CheckPlatform
CRITICAL ; (21:56:35:458 | 0) AUDIO DEVICE: 1 99;1816957440; current platform is not supported => this module will self destruct!
MEMORY ; (21:56:35:458 | 0) AUDIO DEVICE: 1 99;1816957440; ~AudioDeviceModuleImpl destroyed
MEMORY ; (21:56:35:458 | 0) AUDIO DEVICE: -1;1816957440; ~AudioDeviceBuffer destroyed
and segfaults later on... indeed, audio_device_impl.cc never got some WEBRTC_BSD love.
Reporter | ||
Comment 1•11 years ago
|
||
Fwiw, i'm also trying to disentangle globally having --enable-pulseaudio (for everything in mozilla) and using pulseaudio _only_ in webrtc. I dont want to use pulse for firefox itself, we have an sndio cubeb backend.
(In reply to Landry Breuil (:gaston) from comment #1)
> Fwiw, i'm also trying to disentangle globally having --enable-pulseaudio
> (for everything in mozilla) and using pulseaudio _only_ in webrtc. I dont
> want to use pulse for firefox itself, we have an sndio cubeb backend.
Why not write sndio audio_device backend? Or port alsa-lib to OpenBSD?
A few ifdefs were forgotten since audio_device diff in bug 807492 and
bug 844818 changed -DWEBRTC_LINUX hack in .gypi to #ifdef WEBRTC_BSD.
Attachment #797810 -
Flags: review?(rjesup)
Attachment #797810 -
Attachment is obsolete: true
Attachment #797810 -
Flags: review?(rjesup)
dummy change is to fix bug 844818 comment 26 but on BSD
Attachment #797819 -
Flags: review?(rjesup)
Updated•11 years ago
|
Attachment #797819 -
Flags: review?(rjesup) → review+
Reporter | ||
Comment 5•11 years ago
|
||
Comment 6•11 years ago
|
||
Reporter | ||
Updated•11 years ago
|
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Whiteboard: [leave open]
Target Milestone: --- → mozilla26
You need to log in
before you can comment on or make changes to this bug.
Description
•