зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1605134 - Switch the CrossGraphPort's log module to MediaTrackGraph. r=padenot
These MediaTrack used to subclass ForwardedInputTrack and that module is legacy from that time. MediaTrackGraph makes more sense. We should reduce the number of log modules around the graph and converge on the MTG one. Differential Revision: https://phabricator.services.mozilla.com/D97834
This commit is contained in:
Родитель
c7c42f4c89
Коммит
3a0d9178de
|
@ -18,9 +18,9 @@ namespace mozilla {
|
||||||
# undef LOG_TEST
|
# undef LOG_TEST
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
extern LazyLogModule gForwardedInputTrackLog;
|
extern LazyLogModule gMediaTrackGraphLog;
|
||||||
#define LOG(type, msg) MOZ_LOG(gForwardedInputTrackLog, type, msg)
|
#define LOG(type, msg) MOZ_LOG(gMediaTrackGraphLog, type, msg)
|
||||||
#define LOG_TEST(type) MOZ_LOG_TEST(gForwardedInputTrackLog, type)
|
#define LOG_TEST(type) MOZ_LOG_TEST(gMediaTrackGraphLog, type)
|
||||||
|
|
||||||
UniquePtr<CrossGraphPort> CrossGraphPort::Connect(
|
UniquePtr<CrossGraphPort> CrossGraphPort::Connect(
|
||||||
const RefPtr<dom::AudioStreamTrack>& aStreamTrack, AudioDeviceInfo* aSink,
|
const RefPtr<dom::AudioStreamTrack>& aStreamTrack, AudioDeviceInfo* aSink,
|
||||||
|
|
Загрузка…
Ссылка в новой задаче