aplay: set_params:1358: Channels count non available

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

 



Hello,

I am running alsa 1.2.8 in Debian stable with a recent kernel from backports

root@mo:~# uname -a
Linux mo 6.10.6+bpo-armmp #1 SMP Debian 6.10.6-1~bpo12+1 (2024-08-26) armv7l 
GNU/Linux
root@mo:~# 

on a Hummingboard (with an NXP iMX.6 SoC with ARM processor cores)

aplay throws a "Channels count non available" message when using the dmix 
device, with the hw device everything works.

Can anybody tell what I am doing wrong?

Here are the aplay outputs:

root@mo:~# aplay -L
null
    Discard all samples (playback) or generate zero samples (capture)
lavrate
    Rate Converter Plugin Using Libav/FFmpeg Library
samplerate
    Rate Converter Plugin Using Samplerate Library
speexrate
    Rate Converter Plugin Using Speex Resampler
jack
    JACK Audio Connection Kit
oss
    Open Sound System
pulse
    PulseAudio Sound Server
speex
    Plugin using Speex DSP (resample, agc, denoise, echo, dereverb)
upmix
    Plugin for channel upmix (4,6,8)
vdownmix
    Plugin for channel downmix (stereo) with a simple spacialization
hw:CARD=Codec,DEV=0
    On-board Codec, 2028000.ssi-sgtl5000 sgtl5000-0
    Direct hardware device without any conversions
plughw:CARD=Codec,DEV=0
    On-board Codec, 2028000.ssi-sgtl5000 sgtl5000-0
    Hardware device with all software conversions
default:CARD=Codec
    On-board Codec, 2028000.ssi-sgtl5000 sgtl5000-0
    Default Audio Device
sysdefault:CARD=Codec
    On-board Codec, 2028000.ssi-sgtl5000 sgtl5000-0
    Default Audio Device
dmix:CARD=Codec,DEV=0
    On-board Codec, 2028000.ssi-sgtl5000 sgtl5000-0
    Direct sample mixing device
usbstream:CARD=Codec
    On-board Codec
    USB Stream Output
hw:CARD=SPDIF,DEV=0
    On-board SPDIF, S/PDIF PCM snd-soc-dummy-dai-0
    Direct hardware device without any conversions
plughw:CARD=SPDIF,DEV=0
    On-board SPDIF, S/PDIF PCM snd-soc-dummy-dai-0
    Hardware device with all software conversions
default:CARD=SPDIF
    On-board SPDIF, S/PDIF PCM snd-soc-dummy-dai-0
    Default Audio Device
sysdefault:CARD=SPDIF
    On-board SPDIF, S/PDIF PCM snd-soc-dummy-dai-0
    Default Audio Device
dmix:CARD=SPDIF,DEV=0
    On-board SPDIF, S/PDIF PCM snd-soc-dummy-dai-0
    Direct sample mixing device
usbstream:CARD=SPDIF
    On-board SPDIF
    USB Stream Output
hw:CARD=DWHDMI,DEV=0
    DW-HDMI, dw-hdmi-ahb-audio
    Direct hardware device without any conversions
plughw:CARD=DWHDMI,DEV=0
    DW-HDMI, dw-hdmi-ahb-audio
    Hardware device with all software conversions
default:CARD=DWHDMI
    DW-HDMI, dw-hdmi-ahb-audio
    Default Audio Device
sysdefault:CARD=DWHDMI
    DW-HDMI, dw-hdmi-ahb-audio
    Default Audio Device
dmix:CARD=DWHDMI,DEV=0
    DW-HDMI, dw-hdmi-ahb-audio
    Direct sample mixing device
usbstream:CARD=DWHDMI
    DW-HDMI
    USB Stream Output
root@mo:~# aplay --device="dmix:CARD=Codec,DEV=0" /usr/share/sounds/alsa/
Noise.wav 
Playing WAVE '/usr/share/sounds/alsa/Noise.wav' : Signed 16 bit Little Endian, 
Rate 48000 Hz, Mono
aplay: set_params:1358: Channels count non available
root@mo:~# aplay --device="hw:CARD=Codec,DEV=0" /usr/share/sounds/alsa/
Noise.wav 
Playing WAVE '/usr/share/sounds/alsa/Noise.wav' : Signed 16 bit Little Endian, 
Rate 48000 Hz, Mono
root@mo:~# 

Any hint or idea is welcome.

Many thanks
Rainer

-- 
Rainer Dorsch
http://bokomoko.de/




_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user



[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux