On Fri, Jul 17, 2015 at 11:11:20AM -0700, tekk wrote:
> On Fri, Jul 17, 2015 at 07:47:16AM -0700, Артур Истомин wrote:
> >
> > On Fri, Jul 10, 2015 at 06:01:17AM -0700, tekk wrote:
> > > I'm having a bit of trouble with audio on my 5.7 box (Thinkpad T430.)
> > > Audio
> > > is just a bit too quiet to be comfortable even when I have everything
> > > maxed
> > > out. I had a similar problem on Linux and I was able to create a boost
> > > device to feed audio through before it went to the speakers, could I do
> > > the
> > > same in OpenBSD? I've thrown in dmesg as well as mixerctl and audioctl
> > > output, not sure if anything else is needed. I remember reading that there
> > > was already some boost by default as well, but it defaulted to being maxed
> > > for me so it's not much help.
> >
> > I have the same troubles (with the same hardware). In most cases this is due
> > to sound channels of movie clip - 6 or more channels. 2 channels' movies
> > almost always playing perfect for me. Here is my solution for mplayer:
> >
> > mplayer -channels 6 -af pan=2:1:0:0:1:1:0:0:1:1.3:1.3:1:1
> > (see http://hddaudio.net/viewtopic.php?pid=105601#p105601 for more info)
> >
> > If it does not help, try to enable software mixer:
> >
> > mplayer -softvol -softvol-max 1000
> > (but it damage sound when player's volume is max)
> >
> > If you will find another solution for OpenBSD, please email me.
> >
>
> I'm certain it's not an issue of sound channels since most of what I'm using
> sound
> for is stereo videos on youtube. I'll give the -softvol parameter a shot next
> time
> I'm on OpenBSD; hopefully mpv has it since it's an mplayer fork, but an
> actual way
> to fix this would be ideal; the fact that my mix device is capping out at 174
> rather
> than 255 is very suspicious to me. Do you actually experience the same? When
> you run
> mixerctl it should say something like inputs.mix-0-2: 174,174 when you have
> your
> volume turned all the way up. I don't remember the device name exactly but
> it's along
> those lines.
It is very strong correlation for me between 2 channel and 6 (better known as
5.1 channel,
often for DVD-disk) or even more channels. Magic with my first example - it
re-route
6 channels to 2. And yes, it was the same problem on Linux for me (and for many
many
users. And trouble is worse for laptop users. But you know this).
I suspect that there is no problem on Windows platform because there is
automatic sound
normalization by players or Windows OS. And I don't see how to normilize sound
with mplayer
without re-encoding video clip with mencoder.
My settings, but there are no difference as I can say:
$ mixerctl -av
inputs.dac-0:1=174,174
inputs.dac-2:3=174,174
record.adc-0:1_mute=off [ off on ]
record.adc-0:1=248,248
record.adc-2:3_mute=off [ off on ]
record.adc-2:3=248,248
inputs.mix_source=beep { mic beep }
inputs.mix_mic=248,248
inputs.mix_beep=120,120
inputs.mix2_source=dac-0:1,mix { dac-0:1 mix }
inputs.mix3_source=dac-2:3,mix { dac-2:3 mix }
outputs.spkr_source=mix3 [ mix2 mix3 ]
outputs.spkr_mute=off [ off on ]
outputs.spkr_eapd=on [ off on ]
inputs.mic=255,255
outputs.mic_dir=input [ none output input ]
outputs.hp_source=mix2 [ mix2 mix3 ]
outputs.hp_mute=off [ off on ]
outputs.hp_boost=on [ off on ]
record.adc-2:3_source=mix [ mic beep mix ]
record.adc-0:1_source=mic,beep,mix { mic beep mix }
outputs.hp_sense=unplugged [ unplugged plugged ]
outputs.spkr_muters=hp { hp }
outputs.master=255,255
outputs.master.mute=off [ off on ]
outputs.master.slaves=dac-0:1,dac-2:3,spkr,hp { dac-0:1 dac-2:3 spkr mic hp }
record.volume=255,255
record.volume.mute=off [ off on ]
record.volume.slaves=adc-0:1,adc-2:3 { adc-0:1 adc-2:3 mic }
$ cat /etc/mixerctl.conf
outputs.master=255