4 июня 2018 г. 2:42:21 GMT+03:00, Leonid Bobrov <mazocomp@disroot.org> пишет:
>Additional output:
>
>mazocomp$ cat > /dev/audio < /dev/zero &
>
>[1] 68006
>mazocomp$ audioctl play.{bytes,errors}
>play.bytes=1251840
>play.errors=0
>mazocomp$ audioctl play.{bytes,errors}
>play.bytes=1724160
>play.errors=0
>mazocomp$ audioctl play.{bytes,errors}
>play.bytes=2807040
>play.errors=0
>mazocomp$ kill %1
>mazocomp$ fg %1
>cat > /dev/audio < /dev/zero
>Terminated
>mazocomp$ mixerctl -v
>inputs.dac-0:1_mute=off [ off on ]
>inputs.dac-0:1=222,222
>inputs.dac-2:3_mute=off [ off on ]
>inputs.dac-2:3=222,222
>inputs.beep=108
>record.adc-0:1_source=mic2 [ mic2 mic ]
>record.adc-0:1_mute=off [ off on ]
>record.adc-0:1=126,126
>record.adc-2:3_source=mic [ mic mic2 mix ]
>record.adc-2:3_mute=off [ off on ]
>record.adc-2:3=126,126
>inputs.mix_source=dac-0:1,dac-2:3 { dac-0:1 dac-2:3 }
>inputs.mix_dac-0:1=126,126
>inputs.mix_dac-2:3=126,126
>outputs.hp_source=dac-0:1 [ dac-0:1 dac-2:3 ]
>outputs.hp_boost=off [ off on ]
>outputs.spkr_source=dac-2:3 [ dac-0:1 dac-2:3 ]
>inputs.mic=255,255
>outputs.mic_dir=input-vr80 [ none input input-vr80 ]
>inputs.mic2=255,255
>outputs.mic2_dir=input-vr80 [ none input input-vr80 ]
>outputs.hp_sense=unplugged [ unplugged plugged ]
>outputs.mic_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 { dac-0:1 dac-2:3 beep }
>record.enable=sysctl [ off on sysctl ]
>mazocomp$
It's a new sysctl: kern.audio.record=0, and there's also a per-device mixer knob in called record.enable.
Microphone, and any other audio recording, is now disabled by default.
This probably worths noting in current.html...
--
WBR,
Vadim Zhukov
No comments:
Post a Comment