1# Copyright 2020 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 = 'The Chromium OS Audio Team, chromeos-audio@google.com' 6NAME = 'audio_AudioInputGain' 7PURPOSE = 'Test that the input capture gain is controllable.' 8CRITERIA = ''' 9Control the input capture gain by chrome.audio API, and check the actual gain 10from the recorded wave of ALSA loopback. 11''' 12ATTRIBUTES = 'suite:audio_essential' 13TIME = 'SHORT' 14TEST_CATEGORY = 'Functional' 15TEST_CLASS = 'audio' 16TEST_TYPE = 'client' 17DEPENDENCIES = '' 18 19DOC = ''' 20Test that the input capture gain is controllable. 21 22NOTE: For this test kernel config is required to have CONFIG_SND_ALOOP=m which 23makes snd-aloop is manually probeable. 24''' 25 26job.run_test('audio_AudioInputGain') 27