Re: speaker-test works but a aplay does not

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

 



Hauke Westemeier wrote:
> the people of HifiBerry told me (see linked thread) that there is no
> "THE driver" and therefore I can not provide its source code.

Well, the source code files appear to be:
sound/soc/bcm/hifiberry_dacplus.c
sound/soc/bcm/bcm2835-i2s.c
sound/soc/codecs/pcm512x.c

As far as I can tell, there is nothing wrong with how these drivers
handle the number of channels.

> What I know that
> speaker-test -t wav -c 2
> and
> mplayer -ao alsa:device=hw=1.0 /usr/share/sounds/alsa/Front_Right.wav
> work but
> aplay -D hw:1,0 /usr/share/sounds/alsa/Front_Right.wav
> and
> aplay -D plughw:1,0 /usr/share/sounds/alsa/Front_Right.wav
> don't.
> So for me it looks like there is something wrong with aplay.

mplayer does its own sample conversion.

aplay calls the ALSA API in the obvious way, just like speaker-test,
so I'm not sure why one works and one does not.  I suspect there might
be a bug in the ALSA framework.


Regards,
Clemens

------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
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