All of lore.kernel.org
 help / color / mirror / Atom feed
From: Hin-Tak Leung <htl10@users.sourceforge.net>
To: Yu-Hsuan Hsu <yuhsuan@chromium.org>
Cc: alsa-devel@alsa-project.org
Subject: Re: [alsa-devel] alsa conformance test fails to run for playback (and works for capture)
Date: Mon, 21 Oct 2019 13:57:11 +0000 (UTC)	[thread overview]
Message-ID: <43747502.7351282.1571666231987@mail.yahoo.com> (raw)
In-Reply-To: <CAGvk5PrZ65wEp7y7UbtEN2CCf6c-wvoknMKyTmuqXY9EPg7jiw@mail.gmail.com>

 On Sunday, 20 October 2019, 11:51:42 BST, Yu-Hsuan Hsu <yuhsuan@chromium.org> wrote:


> Hi Hin-Tak,
> Maybe it is not the correct pcm name.  I guess the correct one is
> "hw:seeed8micvoicec,0". Could you try it?
> By the way, you can also use aplay -D {device_name} to make sure
> whether the name is correct or not.

> Best,
> Yu-Hsuan

Dear Yu-Hsuan,

No "hw:seeed8micvoicec,0" did not work as input to the conformance test. As input to 'aplay -D', both the ,0 and without it sort of works.
(it waits for input from stdin).

When I actually gave it an channel file to play, both forms ('aplay -D hw:CARD=seeed8micvoicec ...' and 'aplay -D hw:CARD=seeed8micvoicec,0 ...') stopped with:

Playing WAVE 'Untitled recording 2019-10-11 19.15.11.wav' : Signed 16 bit Little Endian, Rate 16000 Hz, Channels 6
aplay: set_params:1339: Sample format non available
Available formats:
- S32_LE

The interesting part of 'aplay -L' is (there is another device):

sysdefault:CARD=seeed8micvoicec
 seeed-8mic-voicecard, 
 Default Audio Device
dmix:CARD=seeed8micvoicec,DEV=0
 seeed-8mic-voicecard, 
 Direct sample mixing device
dsnoop:CARD=seeed8micvoicec,DEV=0
 seeed-8mic-voicecard, 
 Direct sample snooping device
hw:CARD=seeed8micvoicec,DEV=0
 seeed-8mic-voicecard, 
 Direct hardware device without any conversions
plughw:CARD=seeed8micvoicec,DEV=0
 seeed-8mic-voicecard, 
 Hardware device with all software conversions
usbstream:CARD=seeed8micvoicec
 seeed-8mic-voicecard
 USB Stream Output

As I mentioned at the beginning, 'arecord -L' and running the conformance test in CAPTURE mode using 'hw:CARD=seeed8micvoicec' works. It is PLAYBACK which does not.

Regards,
Hin-Tak




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

  reply	other threads:[~2019-10-21 13:58 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-17 14:14 [alsa-devel] alsa conformance test fails to run for playback (and works for capture) Hin-Tak Leung
2019-10-18  2:59 ` Yu-hsuan Hsu
2019-10-18 10:56   ` Hin-Tak Leung
2019-10-20 10:51     ` Yu-Hsuan Hsu
2019-10-21 13:57       ` Hin-Tak Leung [this message]
2019-10-22  3:11         ` Yu-Hsuan Hsu
2019-10-22  9:39           ` Hin-Tak Leung
2019-10-22 16:13             ` Yu-Hsuan Hsu
2019-10-23 10:06               ` Hin-Tak Leung

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=43747502.7351282.1571666231987@mail.yahoo.com \
    --to=htl10@users.sourceforge.net \
    --cc=alsa-devel@alsa-project.org \
    --cc=yuhsuan@chromium.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.