Commit e09defe
committed
tools/capture-test.py: Fix ALSA parameter
This was a usage goof, the final "dir" argument to
snd_pcm_hw_params_set_rate() is not specifying the direction of the
stream, it's specifying the "direction" in which the code will err if
it has to pick a non-matching value.
In this case the parameter had a value of zero ("exact match", what we
want) anyway, so it was an invisible noop.
Signed-off-by: Andy Ross <andyross@google.com>1 parent a4191f3 commit e09defe
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
115 | | - | |
| 115 | + | |
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
| |||
0 commit comments