Exercise 1 - Assess the Device's Audio Latency Performance for Communications Scenarios
In this exercise, we’ll run the following matrix of audio latency tests that generate latency stats for various latency modes supported in Windows. The modes that the test can be run in include:
Default mode – Generates default out-of-box audio latency.
Raw mode – Removes Audio Processing Objects (APOs).
Low Period – New low latency mode for near real-time scenarios such as Skype.
The test renders test sounds that are captured by the microphone.
Note This step-by-step guide is also available to view as a lab video on Channel 9, which features videos for developers from the people building Microsoft Products and Services: https://channel9.msdn.com/Events/WinHEC/2015/OWDHOL301
Step 1: Prepare the system to run the tests
Install the Hardware Lab Kit (HLK) controller.
Right-click on the Start menu and click on Command Prompt (Admin).
Navigate to the \\<controller-name>\Tests\<processor architecture>\TE folder.
Copy the following tests and tools from the Hardware Lab Kit (HLK) controller to your test machine in: C:\Performance\Media
- \\<controller-name>\Tests\<processor architecture>\nttest\multimediatest\wmmftest\glitchfreetaeftests.dll
- \\<controller-name>\TaefBinaries\<processor architecture>\*
- \\<controller-name>\Tests\<processor architecture>\Performance\WindowsXRay\tools\EtwPattern.dll
- \\<controller-name>\Tests\<processor architecture>\test\MediaEngineTest.exe
- \\<controller-name>\Tests\<processor architecture>\audio-test\bin\audiospew.exe
- \\<controller-name>\Tests\<processor architecture>\audio-test\bin\audiostreaming.dll
- \\<controller-name>\Tests\<processor architecture>\nttest\multimediatest\wmmftest\rws.exe
- \\<controller-name>\Tests\<processor architecture>\nttest\multimediatest\wmmftest\audio-fidelity-stress.xml
- \\<controller-name>\Tests\<processor architecture>\audio-test\bin\LatencyTest.dll
Set the volume level on the speakers to 100%.
Step 2: Run the test in default mode
Run the following command:
te.exe latencytest.dll /name:LatencyTest::Vanilla
View the Average, Max, and Min delay values that are sent to the command prompt window.
Step 3: Run the test in raw mode
Run the following command:
te.exe latencytest.dll /name:LatencyTest::Raw
View the Average, Max, and Min delay values that are sent to the command prompt window.
Step 4: Run the test in low latency mode
Run the following command:
te.exe latencytest.dll /name:LatencyTest::LowPeriod
View the Average, Max, and Min delay values that are sent to the command prompt window.