Skip to content

Instantly share code, notes, and snippets.

@theblacksquid
Created October 23, 2020 03:09
Show Gist options
  • Save theblacksquid/e014a40ec6da8b768d498558d9abfbf9 to your computer and use it in GitHub Desktop.
Save theblacksquid/e014a40ec6da8b768d498558d9abfbf9 to your computer and use it in GitHub Desktop.
+ main
+ prepare_env
+ '[' '!' -e /home/theblacksquid/.mic_over_Mumble ']'
+ cd /home/theblacksquid/.mic_over_Mumble
+ echo bonjour=true
+ echo bandwidth=130000
+ '[' '!' -e ./initdone ']'
+ set_up
+ start_mumble_server
+ echo 'Starting Mumble server (murmurd)...'
Starting Mumble server (murmurd)...
+ sleep 5
+ murmurd -ini ./murmur.ini
+ start_mumble_client
+ echo 'Starting Mumble client...'
Starting Mumble client...
+ MUMBLE_CLIENT_ID=21959
+ disown
+ sleep 15
+ mumble mumble://localhost
+ change_pa_config
+ echo 'Changing PulseAudio configuration...'
Changing PulseAudio configuration...
+ add_sink
+ echo 'Adding sink...'
Adding sink...
++ pactl load-module module-null-sink sink_name=Loopback_of_Mumble sink_properties=device.description=Loopback_of_Mumble
+ SINK_MODULE_PAID=23
+ sleep 1
++ get_sink_paid
++ grep -F -e Loopback
++ print_second_column
++ awk '{print $2}'
++ grep -F -e 'index: ' -e 'name: '
++ cut_every_second_newline
++ awk 'ORS=NR%2?" ":"\n"'
++ pacmd list-sinks
++ cut_active_device_indicator
++ cut -c 5-
+ SINK_PAID='1
4
5'
+ move_mumble_to_sink
++ get_mumble_client_paid
++ grep -F -e Mumble
++ grep -F -e 'index: ' -e 'media.name = '
++ print_second_column
++ cut_every_second_newline
++ awk '{print $2}'
++ awk 'ORS=NR%2?" ":"\n"'
++ pacmd list-sink-inputs
+ MUMBLE_CLIENT_PAID=
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment