You are not logged in.

#1 2009-12-28 21:54:59

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

[SOLVED] ncmpcpp/mpd volume control doesn't work

On my EeePC 901, whichever keys I assign to volume in ncmpcpp - they have no affect, the volume remains at 100%. In .ncmpcpp/keys I have:

key_volume_up = '+'
key_volume_down = '-'

...and in .mpd/config:

audio_output {
    type        "alsa"
    name        "My ALSA Device"
        auto_resample   "no"
    device        "hw:0,0"
    format        "44100:16:2"
        mixer_device    "default"
    mixer_control    "PCM"       
    mixer_index    "0"        # optional
}
...
mixer_type            "hardware"

I have tried with different key combinations (Left/Right etc) to no avail. Have I missed something?

Last edited by jasonwryan (2009-12-29 19:34:28)


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#2 2009-12-29 00:46:36

JohannesSM64
Member
From: Norway
Registered: 2009-10-11
Posts: 623
Website

Re: [SOLVED] ncmpcpp/mpd volume control doesn't work

Try software mixing.

Offline

#3 2009-12-29 01:32:16

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED] ncmpcpp/mpd volume control doesn't work

Thanks JohannesSM64 - but that makes no difference...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#4 2009-12-29 14:17:08

l'pc
Member
Registered: 2009-10-05
Posts: 22

Re: [SOLVED] ncmpcpp/mpd volume control doesn't work

Try, in alsamixer, to change the channel PCM.
It's the channel that mpd changes for the volume.

Offline

#5 2009-12-29 18:55:09

Rasi
Member
From: Germany
Registered: 2007-08-14
Posts: 1,914
Website

Re: [SOLVED] ncmpcpp/mpd volume control doesn't work

jasonwryan wrote:

Thanks JohannesSM64 - but that makes no difference...

then you have a different problem... its not the volume change that does not work, its most likely your keybind that has an issue. software mixing will always work, no matter what backend you use with whatever settings.


He hoped and prayed that there wasn't an afterlife. Then he realized there was a contradiction involved here and merely hoped that there wasn't an afterlife.

Douglas Adams

Offline

#6 2009-12-29 19:34:11

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED] ncmpcpp/mpd volume control doesn't work

Rasi wrote:
jasonwryan wrote:

Thanks JohannesSM64 - but that makes no difference...

then you have a different problem... its not the volume change that does not work, its most likely your keybind that has an issue...

I think you were right. I reinstalled ncmpcpp and started with a fresh keys file and, voila, I have volume control.

Thanks all for the suggestions. I also stuck with software mixing - JohannesSM64 you were right!


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB