On Mon, Aug 31, 2009 at 10:43:26PM +0000, Jacob Meuser wrote:

>    if (v->master_idx == -1)
>       errx(1, "failed to find \"master\" mixer device for volume init");
> 
> you should make sure you get outputs.master as opposed to possibly
> record.master, or some other "master".  technically speaking, a device
> is free to make up whatever class it wants.  you have to find the
> "outputs" class index, and make sure that "master"'s mixer_class equals
> the "outputs" class index.

also, there is no guarantee that outputs.master exists on any given
device.  you may want to also try inputs.dac, outputs.dac and
outputs.outputs, in that order.

-- 
jake...@sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org

Reply via email to