Skip to contentSkip to conversation

/usr/share/alsa/speaker-test/sample_map.csv is not accurate, not affecting operation of speaker-test

PATCH New GitHub issues - edited 1 participant 1 message Dec 29, 2021 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

PATCH 1/1 /usr/share/alsa/speaker-test/sample_map.csv is not accurate, not affecting operation of speaker-test

alsa-project/alsa-utils issue #133 was edited from ZjYwMj:

With alsa-utils 1.2.6:

```
--- a/usr/share/alsa/speaker-test/sample_map.csv	2021-12-06 18:44:25.000000000 +0000
+++ b/usr/share/alsa/speaker-test/sample_map.csv	2021-12-28 19:48:02.390305957 +0000
@@ -1,2 +1,2 @@
-0, "Front Left", "/usr/share/alsa/samples/Front_Left.wav"
-1, "Front Right", "/usr/share/alsa/samples/Front_Right.wav"
+0, "Front Left", "/usr/share/sounds/alsa/Front_Left.wav"
+1, "Front Right", "/usr/share/sounds/alsa/Front_Right.wav"
```

The directory ``/usr/share/alsa/samples/`` does not exist. It sounds as if ``speaker-test -t wav`` plays the files mentioned in the diff. This inaccuracy does not affect the operation of ``speaker-test``. Perhaps the paths to the wav files are hard coded within ``speaker-test``. Still, I find it a minor bug. Why is this file distributed anyway? Is it for informational purposes? Was it used in the past, and no longer serves its purpose? Is it planed to be used in the future?

Issue URL : https://github.com/alsa-project/alsa-utils/issues/133
Repository URL: https://github.com/alsa-project/alsa-utils