• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2012 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
5AUTHOR = 'Chromium OS Audiovideo Team'
6NAME = 'audio_LoopbackLatency'
7PURPOSE = 'Test that audio loopback latency'
8CRITERIA = """
9Check if the audio played to line out can be heard mic in, and assert
10the latency is within certain limit.
11"""
12ATTRIBUTES = "suite:audio"
13TIME= 'SHORT'
14TEST_CATEGORY = 'PLAYBACKCAPTURE'
15TEST_CLASS = "audio"
16TEST_TYPE = 'client'
17DEPENDENCIES = 'audio_loopback_dongle'
18
19DOC = """
20Test that audio loopback latency is within certain limit.
21
22NOTE: For this test to pass you need to have the line out looped back to mic-in.
23This can be through a 3.5mm male-to-male cable or a loopback dongle depending on
24your device.
25"""
26
27job.run_test('audio_LoopbackLatency')
28