Bug 1844181 - Move drift control classes to a dedicated dir. r=padenot

This will help keep things together when in a later patch we add a plotting
script and instructions for using it.

Differential Revision: https://phabricator.services.mozilla.com/D188169
This commit is contained in:
Andreas Pehrson 2023-10-09 13:02:49 +00:00
Родитель da1880a152
Коммит a9e6cde44e
9 изменённых файлов: 46 добавлений и 5 удалений

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

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

@ -0,0 +1,18 @@
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
# vim: set filetype=python:
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
UNIFIED_SOURCES += [
"TestAudioDriftCorrection.cpp",
"TestDynamicResampler.cpp",
]
LOCAL_INCLUDES += [
"/dom/media",
"/dom/media/driftcontrol",
"/dom/media/gtest",
]
FINAL_LIBRARY = "xul-gtest"

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

@ -0,0 +1,27 @@
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
# vim: set filetype=python:
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
with Files("**"):
BUG_COMPONENT = ("Core", "Audio/Video: MediaStreamGraph")
TEST_DIRS += [
"gtest",
]
EXPORTS += [
"AudioDriftCorrection.h",
"DynamicResampler.h",
]
UNIFIED_SOURCES += [
"DynamicResampler.cpp",
]
LOCAL_INCLUDES += [
"/dom/media",
]
FINAL_LIBRARY = "xul"

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

@ -26,7 +26,6 @@ UNIFIED_SOURCES += [
"TestAudioCallbackDriver.cpp",
"TestAudioCompactor.cpp",
"TestAudioDecoderInputTrack.cpp",
"TestAudioDriftCorrection.cpp",
"TestAudioInputSource.cpp",
"TestAudioMixer.cpp",
"TestAudioPacketizer.cpp",
@ -44,7 +43,6 @@ UNIFIED_SOURCES += [
"TestDecoderBenchmark.cpp",
"TestDeviceInputTrack.cpp",
"TestDriftCompensation.cpp",
"TestDynamicResampler.cpp",
"TestGMPUtils.cpp",
"TestGroupId.cpp",
"TestIntervalSet.cpp",

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

@ -30,6 +30,7 @@ with Files("GetUserMedia*"):
DIRS += [
"autoplay",
"doctor",
"driftcontrol",
"eme",
"encoder",
"fake-cdm",
@ -130,7 +131,6 @@ EXPORTS += [
"AudioConfig.h",
"AudioConverter.h",
"AudioDeviceInfo.h",
"AudioDriftCorrection.h",
"AudioMixer.h",
"AudioPacketizer.h",
"AudioRingBuffer.h",
@ -151,7 +151,6 @@ EXPORTS += [
"DecoderTraits.h",
"DOMMediaStream.h",
"DriftCompensation.h",
"DynamicResampler.h",
"ExternalEngineStateMachine.h",
"FileBlockCache.h",
"ForwardedInputTrack.h",
@ -273,7 +272,6 @@ UNIFIED_SOURCES += [
"CubebInputStream.cpp",
"DeviceInputTrack.cpp",
"DOMMediaStream.cpp",
"DynamicResampler.cpp",
"ExternalEngineStateMachine.cpp",
"FileBlockCache.cpp",
"FileMediaResource.cpp",