Skip to content

Unable to use equalizer with softvol #3

@timothyjward

Description

@timothyjward

Hi, I've tried using the equalizer (and seen it work) but I don't seem to be able to use it in conjunction with a software volume control.

What I want is something like the following asound.conf:

pcm.!default {
    type plug
    slave.pcm "equal"
}

pcm.plugequal {
    type plug
    slave.pcm "equal"
}

ctl.equal {
    type equal;
}

pcm.equal {
    type equal;
    slave.pcm "plugsoftvolume"
}

pcm.plugsoftvolume {
    type plug
    slave.pcm "softvolume"
}

pcm.softvolume {
    type            softvol
    slave {
        pcm         "plughw:2,0"
    }
    control {
        name        "SoftMaster"
        card        2
        device      0
    }
max_dB 0.0
min_dB -50.0
resolution 100
}

I want it this way around because the equalizer will work much better with the full input signal, and then the final volume control can be used to adjust the overall volume. Unfortunately when I do this I get:

aplay: pcm_params.c:170: snd1_pcm_hw_param_get_min: Assertion !snd_interval_empty(i)' failed.`

I don't see any reason why the equalizer plugin should require that it outputs to a hardware device (the docs even suggest it should be possible to target dmix).

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions