mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-12-22 16:46:31 +01:00
alsabat: Allow custom sample format for round trip latency test
Setting the format to BAT_PCM_FORMAT_S16_LE in the round trip latency test initialization is redundant as it is already set by default to BAT_PCM_FORMAT_S16_LE unless a sample format is specified on the command line. Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
a3d81b6bea
commit
f6b59282f7
1 changed files with 0 additions and 1 deletions
|
@ -178,7 +178,6 @@ void roundtrip_latency_init(struct bat *bat)
|
|||
bat->latency.is_playing = false;
|
||||
bat->latency.error = 0;
|
||||
bat->latency.xrun_error = false;
|
||||
bat->format = BAT_PCM_FORMAT_S16_LE;
|
||||
bat->frames = LATENCY_TEST_TIME_LIMIT * bat->rate;
|
||||
bat->periods_played = 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue