diff options
author | Michael Forney <mforney@mforney.org> | 2022-10-31 00:07:42 -0700 |
---|---|---|
committer | Michael Forney <mforney@mforney.org> | 2022-10-31 00:10:39 -0700 |
commit | f5368cdf08be50d8de01155e17a2dfdcb3c9beb3 (patch) | |
tree | 8aa7030bb1516f98744651b6604a95ad11b3effd /scripts/version.py | |
parent | 4fbaeef03cd1cb216e0f356c0433ca70f8b9c464 (diff) |
tinyplay: fix playback of 24-bit and 8-bit pcm
The bits-to-format function returned bool, which happened to work
for PCM_FORMAT_S16_LE (0) and PCM_FORMAT_S32_LE (1). However, all
other formats were incorrectly mapped to PCM_FORMAT_S32_LE. Return
enum pcm_format instead.
Diffstat (limited to 'scripts/version.py')
0 files changed, 0 insertions, 0 deletions