Re: "Unknown field slaves" with virtual multi-channel device [SOLVED]

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

 



On Wed, Feb 13, 2013 at 4:49 PM, Clemens Ladisch
<cladisch@xxxxxxxxxxxxxx> wrote:
> Sheldon Hearn wrote:
>> ALSA lib pcm_hw.c:1466:(_snd_pcm_hw_open) Unknown field slaves
>
> The function _snd_pcm_hw_open is the "hw" plugin.
> Apparently, you have changed its definition somewhere.

Ah, I get it now. It's now that I've redefined the hw plugin, it's
that I've redefined my virtual multi-channel device as hw.

And there it was staring me in the face:

pcm.multi {
  type multi;
  slaves.a.pcm "hw:0,0";
  [...]
}

pcm.multi {
  type hw;
  card 0;
}

The second pcm.multi stanza redefines the device called multi using
the hw plugin. invalidating the configuration statements in the first
stanza.

This was a typo in my adaptation from the example in the
documentation. The second stanza should have been:

ctl.multi {
  type hw;
  card 0;
}

Thanks for the help, and sorry it took me so long to absorb. :-)

Ciao,
Sheldon.

------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
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