Hi all
The platform on which I am trying to perform ALSA playback and record with USB
sound device is based on a MIPS CPU running Linux kernel 2.6.14. The kernel
uses non-coherent DMA in the configuration:
CONFIG_DMA_NONCOHERENT=y
CONFIG_DMA_NEED_PCI_MAP_STATE=y
CONFIG_CPU_BIG_ENDIAN=y
C
> /home/saurav # aplay -D plughw:0,0 Vincent.wav
>
> /home/saurav # speaker-test
>
> /home/saurav # arecord -D plughw:0,0 -t wav file.wav
have you tried to be a little more specific on your usage?
$ speaker-test -c 2 -D hw:0
$ aplay -D hw:0 -t wav -f S16_LE -r 48000 Vincent.wav
$ arecord -D h
I have been able to resolve the previously reported errors by setting the
environment variable for ALSA configuration file on the target filesystem of
the embedded platform.
ALSA_CONFIG_PATH=/usr/share/alsa/alsa.conf
However, I do not hear any audio from USB sound device with speaker-test or
a