Lullaby Test - Certification
This automated test verifies audio during power-state transitions. The test plays audio before, during, and after transitions into sleep and hibernate power states to verify the integrity of the audio pipeline.
Specifically, the test uses the Microsoft® DirectSound® and Wave APIs to play audio, calls Advanced Configuration and Power Interface (ACPI) functions to put the computer into a low-power state, and awakens the computer by using a wait able timer event. The test then verifies that audio still plays correctly.
Test details
Associated requirements |
Device.Audio.Base.JackDetection Device.Audio.Base.PowerManagement |
Platforms |
Windows 7 (x64) Windows 7 (x86) Windows RT (ARM-based) Windows 8 (x64) Windows 8 (x86) Windows Server 2012 (x64) Windows Server 2008 R2 (x64) Windows RT 8.1 Windows 8.1 x64 Windows 8.1 x86 Windows Server 2012 R2 |
Expected run time |
~20 minutes |
Categories |
Certification |
Type |
Automated |
Running the test
Before you run the test, complete the test setup as described in the test requirements: Audio Device Testing Prerequisites.
Troubleshooting
For troubleshooting information, see Troubleshooting Audio Testing.
The test returns FAIL if it does not detect an audio device, if it cannot set the power state of the computer, or if the audio pipeline is in an inconsistent state. For specific information about failures, review the test results in the generated log file.
Depending on BIOS, the test might require user intervention. If BIOS does not support wake from sleep and wake from hibernate, you must bring the computer out of sleep states for the test to continue.
More information
Command syntax
Command option | Description |
---|---|
Lullaby |
Without any options, the test opens the GUI. |
-c [string] |
This option starts the application and runs the test cases that are specified in the .pro file that [string] specifies. |
-h [string] |
This option specifies the Plug and Play (PnP) ID of the device for the test cases to use. The default value is all devices. |
Note
For command-line help for this test binary, type /h
File list
File | Location |
---|---|
DevIDParse.vbs |
<testbinroot>\nttest\multimediatest \avcore\audio\scripts\ |
Lullaby.exe |
<testbinroot>\nttest\multimediatest\avcore\audio\wdk |
Logo_win7_lullaby.pro |
<testbinroot>\nttest\multimediatest\AVCore\Audio\Profiles\ |
Logo_vista_lullaby.pro |
<testbinroot>\nttest\multimediatest\AVCore\Audio\Profiles\ |
S98wtt.dll |
<testbinroot>\nttest\multimediatest\common\ |