Closed
Bug 1498242
Opened 6 years ago
Closed 6 years ago
Separate input and output notifications when register for collection changes
Categories
(Core :: Audio/Video: cubeb, enhancement, P2)
Core
Audio/Video: cubeb
Tracking
()
RESOLVED
FIXED
People
(Reporter: achronop, Assigned: achronop)
References
Details
We need to enhance `cubeb_register_device_collection_changed()` to allow registering different callbacks for input and output. Currently we can register one callback either for input or output or both.
Before cubeb remote we could workaround this issue by using two independent cubeb instances, one for input and one for output. With cubeb remote this is not easy and we need to re-use the existing one cubeb instance.
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Comment 1•6 years ago
|
||
PR for pulse backend:
https://github.com/kinetiknz/cubeb/pull/464
Assignee | ||
Comment 2•6 years ago
|
||
PR for audiounit backend:
https://github.com/kinetiknz/cubeb/pull/465
Assignee | ||
Comment 3•6 years ago
|
||
PR for rust pulse backend:
https://github.com/djg/cubeb-pulse-rs/pull/39
Comment 4•6 years ago
|
||
I was wondering if we have use case for it now. It seems that MediaEngineWebRTC registers the callbacks for input scope only[0].
[0] https://searchfox.org/mozilla-central/rev/eef79962ba73f7759fd74da658f6e5ceae0fc730/dom/media/webrtc/MediaEngineWebRTC.cpp#367,381
Assignee | ||
Comment 5•6 years ago
|
||
I am implementing the output enumeration in Bug 1482150 and I am blocked because of that.
Assignee | ||
Comment 6•6 years ago
|
||
Fixed by 1500377.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•