blob: f59b34048d1da09da920aff3cfceb82bfce226cc [file] [log] [blame]
# Copyright 2020 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
AUTHOR = 'The Chromium OS Audio Team,'
NAME = 'audio_AudioInputGain'
PURPOSE = 'Test that the input capture gain is controllable.'
Control the input capture gain by API, and check the actual gain
from the recorded wave of ALSA loopback.
ATTRIBUTES = 'suite:audio_essential'
TEST_CATEGORY = 'Functional'
TEST_CLASS = 'audio'
TEST_TYPE = 'client'
DOC = '''
Test that the input capture gain is controllable.
NOTE: For this test kernel config is required to have CONFIG_SND_ALOOP=m which
makes snd-aloop is manually probeable.