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