Re: speaker-test works but a aplay does not

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

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Hi,

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

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.
Because if there would be a fundamental problem with the driver, how
could the other two programs (speaker-test is even bundled with aplay
so I assume they don't do some crazy stuff) work?
As aplay is used as default player in many places (e.g. in the
text-to-speach-program I'm using) I would really appreciate if aplay
would work too. I'm not an expert, therefor I can't check the code my
self but if there is anything I can test to help to fix it, just let
me know.

Kind regards,

Hauke


Am 21.04.2016 um 02:46 schrieb Hauke Westemeier:
> 
> 
> Hi,
> 
> I just read in 
> https://www.hifiberry.com/guides/configuring-linux-3-18-x/ "Note
> that aplayer won’t convert files that are in a format that is not
> natively supported from our drivers. (e.g. mono files or different 
> sample rates)." which seems to be exactly my issue (sorry that I
> didn't see it before). As other steps of the linked tutorial are
> not longer needed (and aplay should in principle be able to do it
> by plughw) maybe there is also a way to get rid of this limitation.
> I would really appreciate it.
> 
> Kind regards,
> 
> Hauke
> 
> 
> 
> 
> Am 21.04.2016 um 02:27 schrieb Hauke Westemeier:
> 
>>>>> Where can I find the source code of the driver?
>>>> 
>>>> Which driver?
> 
>>> Whatever driver you're using.  See /proc/asound/modules. (I'm 
>>> asking because it does not appear to be part of the official 
>>> Linus Linux kernel.)
> 
> 
>> cat /proc/asound/modules 0 snd_bcm2835 1
>> snd_soc_hifiberry_dacplus
> 
>> But I don't have the source code of the driver (if I understand
>> it right it is part of the kernel). I opened a thread in the
>> HifiBerry forum 
>> https://support.hifiberry.com/hc/en-us/community/posts/206636389-Setup-issues-and-problem-with-aplay-channels-
>
>> 
> 
> . Maybe they can give helpful comments too.
>> But of course I'm still open for your suggestions.
> 
>> Kind regards,
> 
>> Hauke
> 
> 
>> ------------------------------------------------------------------------------
>
>> 
> 
> 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
> 
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iEYEARECAAYFAlcbWrgACgkQjz8jfoq989eIgwCeJ6CeHrk+VUfwidBM4jbuJPzQ
NrkAnjtmZ8UNnLrZWnbtVc1fk7eoX2m/
=p9Ue
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
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