1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00

kselftest/alsa: Don't any configuration in the sample config

The values in the one example configuration file we currently have are the
default values for the two tests we have so there's no need to actually set
them. Comment them out as examples, with a rename for the tests so that we
can update the tests in the code more easily.

Signed-off-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20221201170745.1111236-5-broonie@kernel.org
Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
Mark Brown 2022-12-01 17:07:43 +00:00 committed by Takashi Iwai
parent 8370d9b00c
commit ae95efd975

View file

@ -39,22 +39,25 @@ card.hda {
# #
pcm.0.0 { pcm.0.0 {
PLAYBACK { PLAYBACK {
test.time1 { #
access RW_INTERLEAVED # can be omitted - default # Uncomment to override values for specific tests
format S16_LE # can be omitted - default #
rate 48000 # can be omitted - default #test_name1 {
channels 2 # can be omitted - default # access RW_INTERLEAVED
period_size 512 # format S16_LE
buffer_size 4096 # rate 48000
} # channels 2
test.time2 { # period_size 512
access RW_INTERLEAVED # buffer_size 4096
format S16_LE #}
rate 48000 #test_name2 {
channels 2 # access RW_INTERLEAVED
period_size 24000 # format S16_LE
buffer_size 192000 # rate 48000
} # channels 2
# period_size 24000
# buffer_size 192000
#}
} }
CAPTURE { CAPTURE {
# use default tests, check for the presence # use default tests, check for the presence