First thanks for helping! On Wed, Feb 11, 2015 at 09:29:04AM +0100, Alexandre Ratchov wrote: > the noise might be caused by a noisy microphone amp (even if > there's no microphone plugged). By mutting the microphoe, the noise > may disappear. Could you post the output of "mixerctl -a" ?
Thanks, first problem solved, I did $ mixerctl inputs.mic=0,0 and the noise stoped. /* mixerctl -a */ inputs.dac-0:1=108,108 inputs.dac-2:3=126,126 inputs.dac-4:5=126,126 inputs.dac-6:7=108,108 record.adc-0:1_mute=off record.adc-0:1=125,125 record.adc-2:3_mute=off record.adc-2:3=125,125 inputs.mix_source=mic,mic2,line-in,hp,line inputs.mix_mic=120,120 inputs.mix_mic2=120,120 inputs.mix_line-in=120,120 inputs.mix_hp=120,120 inputs.mix_line=120,120 inputs.mix2_source=dac-0:1,mix inputs.mix3_source=dac-2:3,mix inputs.mix4_source=dac-4:5,mix inputs.mix5_source=dac-6:7,mix outputs.SPDIF_source=dig-dac-0:1 outputs.line_source=mix2 outputs.line_mute=off outputs.line_dir=output outputs.line_boost=off outputs.line_eapd=on outputs.mic_source=mix3 outputs.mic_mute=on inputs.mic=0,0 outputs.mic_dir=input-vr80 outputs.mic2_source=mix8 outputs.mic2_mute=off inputs.mic2=85,85 outputs.mic2_dir=input-vr80 outputs.mic2_boost=off outputs.line-in_source=mix4 outputs.line-in_mute=off inputs.line-in=85,85 outputs.line-in_dir=input outputs.hp_source=mix5 outputs.hp_mute=off inputs.hp=85,85 outputs.hp_dir=output outputs.hp_boost=off outputs.hp_eapd=on record.adc-2:3_source=mic,mic2,line-in,hp,line,mix record.adc-0:1_source=mic,mic2,line-in,hp,line,mix inputs.dac-8:9=126,126 inputs.mix8_source=dac-8:9,mix outputs.line_sense=plugged outputs.mic_sense=unplugged outputs.mic2_sense=unplugged outputs.line-in_sense=unplugged outputs.hp_sense=unplugged outputs.master=110,110 outputs.master.mute=off outputs.master.slaves=dac-0:1,dac-6:7,line,hp record.volume=125,125 record.volume.mute=off record.volume.slaves=adc-0:1,adc-2:3 outputs.mode=analog > > I installed cmus, copied some musics to my disk and started to listen. > > It plays normally, but when I click the arrows to advance in the music, I > > noticed it have a delay, and it lags if I click like 3 times to advance. > > And if click to close the application, the application close in the same > > time, > > but the audio stay playing for a while. > > > > The next thing is mplayer, It lag to advance the video (as cmus), but > > it don't stay playing when I click close. > > How long is the lag? It's about 1.5 - 2 seconds. This really sucks I need to advance the music and click more than once. > By default the buffer size is large which causes around 0.2 second > of extra lag but makes audio stable (this is to allow audio to > kinda work on busy or on MP systems). You could try to use smaller > buffers, for instance add: > > sndiod_flags="-z 480" > > to /etc/rc.conf.local and restart sndiod with: > > /etc/rc.d/sndiod restart This didn't solved, maybe the audio is a little faster, but continue more than 1 sec of delay. -- Regards Henrique Lengler