1 # Copyright (c) 2011 The Chromium OS Authors. All rights reserved. 2 # Use of this source code is governed by a BSD-style license that can be 3 # found in the LICENSE file. 4 5 AUTHOR = "Chromium OS Project" 6 NAME = "desktopui_AudioFeedback" 7 PURPOSE = "Verify Flash video sound is audible" 8 CRITERIA = """ 9 This test will fail if Flash video sound is not audible. 10 """ 11 ATTRIBUTES = "suite:audio" 12 TIME = "SHORT" 13 TEST_CATEGORY = "General" 14 TEST_CLASS = "desktopui" 15 TEST_TYPE = "client" 16 DEPENDENCIES = 'audio_loopback_dongle' 17 18 DOC = """ 19 Test that Flash video sound can be heard by arecord at mic in. 20 21 NOTE: For this test to pass you need to have the line out looped back to mic-in. 22 This can be through a 3.5mm male-to-male cable or a loopback dongle depending on 23 your device. 24 """ 25 26 job.run_test('desktopui_AudioFeedback', constraints=['rms_value > 0.05']) 27