.asoundrc for layla3g && aplay error: set_params:959: Channels count non available

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

 



Hello,

*A wave file plays on the built-in audio  "aplay -v waveoutput.wave" without issues, but if I route this to my Layla3G card using the command:
    "aplay -v -D layla3g waveoutput.wave" this is the output/error message:
 
    Playing WAVE 'waveoutput.wave' : Signed 16 bit Little Endian, Rate 22050 Hz, Mono
    aplay: set_params:959: Channels count non available

    I've searched the forums and while I have found a work-around, I haven't found a satisfactory answer online that points to my error ( which I presume is with my .asoundrc file).  Here is my ~/.asoundrc file (bellow), to it I added the "channels 2" line and rebooted the system, but it still fails.  Something tells me that this is not properly setup. 

** If I try the following, it works: aplay -D plughw:1,0 waveoutput.wave

*** The purpose of this task is to figure out what the maximum output voltage of the Echo Layla3G is.  Do any of you have a suggestion to accomplish this in a more elegant way?


## my .asoundrc file ######################
# soundcard and device to use
pcm.layla3g {
    type   hw
    card   1
    device 0
    channels 2
}
ctl.layla3g {
    type   hw
    card   1
    device 0
    channels 2
}



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