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


I was away at the weekend, therefore I can only reply today.

> Try running this program:
> 
http://download.atmark-techno.com/misc/demos/usb-audio-a500-howto/hw_params.c
> Does it report one channel?


./hw_params
PLAYBACK
        Device: hw:0 (type: HW)
        Access types: MMAP_INTERLEAVED RW_INTERLEAVED
        Formats: U8 S16_LE
        Channels: 1 2
        Sample rates: 8000-48000
        Interrupt interval: 5333-8192000 us
        Buffer time: 5333-8192000 us

        Device: hw:1 (type: HW)
        Access types: RW_INTERLEAVED
        Formats: S16_LE S24_LE S32_LE
        Channels: 2
        Sample rates: 8000 11025 16000 22050 32000 44100 48000 64000
88200 96000 176400 192000
        Interrupt interval: 20-8192000 us
        Buffer time: 41-16384000 us

CAPTURE

The external card HifiBerry is card 1 (device 0). The Device: hw:1
only reports "Channels: 2" (and not "Channels: 1 2").
This matches the error "Channels count non available" if I just run
 aplay -D hw:1,0 /usr/share/sounds/alsa/Front_Right.wav
(as the mono file has just 1 channel [how can it actually have front
and right information in just one channel?] but the card only supports 2)

Naively I assumed that when using
 aplay -D plughw:1,0 /usr/share/sounds/alsa/Front_Right.wav
the mono signal is split up in two identical signals that are then
send two both channels.
What can I do to make it work?

Kind regards,

Hauke

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iEYEARECAAYFAlcT7YoACgkQjz8jfoq989dkHQCeLgjJN+r0UgsQzcnmcPnaz/2N
G7cAn05nBkjKAFNkTH+U3DtB+h8HWZya
=P0Yi
-----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