You are not logged in.

#1 2013-10-26 15:00:54

diffycat
Member
Registered: 2011-06-18
Posts: 26

[SOLVED] mpv - howto enable audio output via alsa:PCM

Hello,

I want to get mpv to use alsa:pcm audio output. mplayer2 works fine with the following config:

ao=alsa
mixer-channel=PCM

For mpv I have changed it to:

ao=alsa:mixer-name=PCM

But mpv still using it's "internal" volume scale. Is there anything else that I should add to my config?

Last edited by diffycat (2013-10-26 16:51:39)

Offline

#2 2013-10-26 16:13:20

Ziemas
Member
Registered: 2009-06-07
Posts: 14

Re: [SOLVED] mpv - howto enable audio output via alsa:PCM

I think they've made --softvol the default, so try setting softvol=no in the config file.

Offline

#3 2013-10-26 16:53:06

diffycat
Member
Registered: 2011-06-18
Posts: 26

Re: [SOLVED] mpv - howto enable audio output via alsa:PCM

@Ziemas

Thank you, it works.

Offline

#4 2013-10-26 19:23:57

kokoko3k
Member
Registered: 2008-11-14
Posts: 2,457

Re: [SOLVED] mpv - howto enable audio output via alsa:PCM

Ziemas wrote:

I think they've made --softvol the default, so try setting softvol=no in the config file.

Thanks, that solved a couple of issues i had with audio and mpv.

Why the hell they did that, i wonder...


Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !

Offline

#5 2013-10-26 19:31:24

diffycat
Member
Registered: 2011-06-18
Posts: 26

Re: [SOLVED] mpv - howto enable audio output via alsa:PCM

@kokoko3k

Actually, it appears that they even wrote about it in their changelist:

Make --softvol default (mpv is not a mixer control panel)

https://github.com/mpv-player/mpv/blob/ … er2-to-mpv

Offline

#6 2013-10-26 20:35:12

kokoko3k
Member
Registered: 2008-11-14
Posts: 2,457

Re: [SOLVED] mpv - howto enable audio output via alsa:PCM

Yes, i missed it, but (and sorry for the OT),
keeping softvol active when you explicitely tell it you WANT to control the mixer seems so pointless to me...
In addition, softvol decreases the Signal to noise ratio and this could be even worse when that signal has to pass through pulseaudio too.


Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !

Offline

Board footer

Powered by FluxBB