mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-11-10 00:25:43 +01:00
5b0c6da0d8
Currently speaker-test only uses channel names retrieved by snd_pcm_chmap_long_name() when a channel map has been manually set. However, the device may provide a default (or fixed) channel map that differs from the traditional ALSA map, in which case wrong channel names are shown. Fix that by always using the name from the channel map when a channel map is present. Note that the names retrieved by snd_pcm_chmap_long_name() are not currently localized via gettext. Also note that Linux kernel HDMI driver reported wrong default channel maps before 56cac413dd6d43af8355f5d1f90a199b540f73fc ("ALSA: hda - hdmi: Fix reported channel map on common default layouts"). Signed-off-by: Anssi Hannula <anssi.hannula@iki.fi> Signed-off-by: Takashi Iwai <tiwai@suse.de> |
||
---|---|---|
.. | ||
samples | ||
Makefile.am | ||
pink.c | ||
pink.h | ||
readme.txt | ||
speaker-test.1 | ||
speaker-test.c |
To make or build just type make To test: - 1) Just stereo sound from one stereo jack: - ./speaker-test -Dplug:front -c2 2) A 4 speaker setup from two stereo jacks: - ./speaker-test -Dplug:surround40 -c4 3) A 5.1 speaker setup from three stereo jacks: - ./speaker-test -Dplug:surround51 -c6