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:
Andreas Pehrson 2020-11-30 14:16:50 +00:00
Родитель c7c42f4c89
Коммит 3a0d9178de
1 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -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,