neko/runtime/default.pa

17 lines
846 B
Plaintext
Raw Normal View History

2020-11-28 09:51:33 +13:00
#!/usr/bin/pulseaudio -nF
2021-11-19 10:01:41 +13:00
### Create virtual output device sink
2021-11-19 09:48:43 +13:00
load-module module-null-sink sink_name=audio_output sink_properties=device.description="Virtual_Audio_Output"
2021-11-19 10:01:41 +13:00
### Create virtual input device sink
2021-11-19 09:48:43 +13:00
load-module module-null-sink sink_name=audio_input sink_properties=device.description="Virtual_Audio_Input"
2021-11-19 10:01:41 +13:00
### Create a virtual audio source linked up to the virtual input device
2021-11-19 09:48:43 +13:00
load-module module-virtual-source source_name=microphone master=audio_input.monitor source_properties=device.description="Virtual_Microphone"
2021-11-19 10:01:41 +13:00
### Allow pulse audio to be accessed via TCP (from localhost only), to allow other users to access the virtual devices
2020-11-28 09:51:33 +13:00
load-module module-native-protocol-unix socket=/tmp/pulseaudio.socket auth-anonymous=1
### Make sure we always have a sink around, even if it is a null sink.
load-module module-always-sink