working v6
This commit is contained in:
commit
77780ff216
11 changed files with 329 additions and 0 deletions
31
tasks/FreeBSD-sound.yml
Normal file
31
tasks/FreeBSD-sound.yml
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
---
|
||||
- name: install pkg for bluetooth audio
|
||||
package:
|
||||
name:
|
||||
- virtual_oss
|
||||
- pavucontrol
|
||||
state: present
|
||||
become: true
|
||||
tags:
|
||||
- install
|
||||
|
||||
- name: "set the number of audio channels"
|
||||
lineinfile:
|
||||
path: "/etc/sysctl.conf"
|
||||
regexp: "^{{ item.name }}"
|
||||
line: "{{ item.name }}={{ item.val }}"
|
||||
become: true
|
||||
loop: "{{ sysctl_setting }}"
|
||||
vars:
|
||||
sysctl_setting:
|
||||
- name: "hw.snd.default_unit"
|
||||
val: "{{ defaultsnddevice }}"
|
||||
- name: "dev.pcm.0.play.vchans"
|
||||
val: "{{ audiochannel }}"
|
||||
- name: "dev.pcm.0.rec.vchans"
|
||||
val: "{{ audiochannel }}"
|
||||
- name: "hw.snd.maxautovchans"
|
||||
val: "{{ audiochannel }}"
|
||||
- name: "hw.snd.vpc_0db"
|
||||
val: 15
|
||||
#https://forums.freebsd.org/threads/low-sound-volume.49620/
|
||||
Loading…
Add table
Add a link
Reference in a new issue