alsa conformance test fails to run for playback (and works for capture)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Yu-Hsuan,

I have encountered another problem with the alsa conformance test. It works for capture, but not for playback.

The device is - 

http://wiki.seeedstudio.com/ReSpeaker_6-Mic_Circular_Array_kit_for_Raspberry_Pi/

and running on a pi / raspbian buster.

The actual message is:

Fail - ALSA lib pcm_hw.c:1822:(_snd_pcm_hw_open) Invalid value for card
snd_pcm_open hw:CARD=seeed8micvoi: No such device

I think the truncation is harmless .

The actual device name according to aplay -L is "hw:CARD=seeed8micvoicec,DEV=0" and as I noted earlier, arecord -L shows it as "hw:CARD=seeed8micvoicec,DEV=0" also, and the comformance test running in CAPTURE mode works, just not in PLAYBACK mode.

Is there anything I can do to look further?

Since it says "invalid value", I tried deleting the parameters around line 190 of src/alsa_conformance_helper.c, but perhaps I should do something else?

src/alsa_conformance_helper.c-191-    conformance_timer_start(timer, SND_PCM_OPEN);
src/alsa_conformance_helper.c:192:    rc = snd_pcm_open(handle,
src/alsa_conformance_helper.c-193-                      dev_name,
src/alsa_conformance_helper.c-194-                      stream,
src/alsa_conformance_helper.c-195-                      SND_PCM_NONBLOCK |
src/alsa_conformance_helper.c-196-                      SND_PCM_NO_AUTO_RESAMPLE |
src/alsa_conformance_helper.c-197-                      SND_PCM_NO_AUTO_CHANNELS |
src/alsa_conformance_helper.c-198-                      SND_PCM_NO_AUTO_FORMAT);
src/alsa_conformance_helper.c-199-    conformance_timer_stop(timer, SND_PCM_OPEN);


Regards,
Hin-Tak

 
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
https://mailman.alsa-project.org/mailman/listinfo/alsa-devel



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux