Re: speaker-test works but a aplay does not

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

 



Hauke Westemeier wrote:
> aplay -v -D plug:stereoonly /usr/share/sounds/alsa/Front_Center.wav
> Playing WAVE '/usr/share/sounds/alsa/Front_Center.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono
> Plug PCM: Route conversion PCM (sformat=S16_LE)
>   Transformation table:
>     0 <- 0
>     1 <- 0

This is the automatic mono->stereo conversion.

> Its setup is:
>   ...
>   channels     : 1
>   ...
> Slave: Hardware PCM card 0 'bcm2835 ALSA' device 0 subdevice 0
> Its setup is:
>   ...
>   channels     : 2
>   ...

> If I set it for the external sound card by changing "card 0" to "card 1"
>  aplay -v -D plug:stereoonly /usr/share/sounds/alsa/Front_Center.wav
> still gives the error
>
> Playing WAVE '/usr/share/sounds/alsa/Front_Center.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono
> aplay: set_params:1297: Unable to install hw params:

This might be a problem unrelated to the number of channels.

Are there any error messages in the system log?

Where can I find the source code of the driver?


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