alsa-project / alsa-plugins

The Advanced Linux Sound Architecture (ALSA) - plugins
GNU Lesser General Public License v2.1
42 stars 28 forks source link

speaker-test fails with message "Unknown field hint" on Scarlett 8i6 #40

Closed montemedio closed 3 years ago

montemedio commented 3 years ago

I am using a Scarlett 8i6 Gen1. It used to work fine, but with the newest version of speaker-test, I get this error message:

$ speaker-test -Dusbstream:CARD=USB

speaker-test 1.2.5.1

Playback device is usbstream:CARD=USB
Stream parameters are 48000Hz, S16_LE, 1 channels
Using 16 octaves of pink noise
ALSA lib pcm_usb_stream.c:503:(_snd_pcm_usb_stream_open) Unknown field hint
Playback open error: -22,Invalid argument
$ cat /proc/asound/cards
 0 [PCH            ]: HDA-Intel - HDA Intel PCH
                      HDA Intel PCH at 0xd3a10000 irq 35
 1 [NVidia         ]: HDA-Intel - HDA NVidia
                      HDA NVidia at 0xd3000000 irq 17
 2 [USB            ]: USB-Audio - Scarlett 8i6 USB
                      Focusrite Scarlett 8i6 USB at usb-0000:00:1a.0-1.2, high speed
perexg commented 3 years ago

Thanks for the report. It should be fixed in https://github.com/alsa-project/alsa-plugins/commit/afa8e0ab04c38414c8068d482409580401f82dad .