Guest User

Untitled

a guest
Feb 24th, 2026
192
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 3.34 KB | None | 0 0
  1. context.modules = [
  2.     {   name = libpipewire-module-combine-stream
  3.         args = {
  4.             combine.mode = sink
  5.             node.name = "all_physical_outputs"
  6.             node.description = "All Physical Outputs"
  7.             combine.props = {
  8.                 audio.position = [ FL FR ]
  9.             }
  10.             stream.rules = [
  11.                 {
  12.                     matches = [
  13.                         {
  14.                             media.class = "Audio/Sink"
  15.                             node.name = "~bluez_output.*"
  16.                         },
  17.                         {
  18.                             media.class = "Audio/Sink"
  19.                             node.name = "~alsa_output.usb-Audient_Audient_iD14-00..*__sink"
  20.                             #device.bus = "usb"
  21.                         },
  22.                         {
  23.                             media.class = "Audio/Sink"
  24.                             node.name = "~alsa_output.pci-0000_03_00.1.hdmi-.*"
  25.                             #device.bus = "pci"
  26.                         }
  27.                     ]
  28.                     actions = {
  29.                         create-stream = {
  30.                             audio.position = [ FL FR ]
  31.                             combine.audio.position = [ FL FR ]
  32.                         }
  33.                     }
  34.                 }
  35.             ]
  36.         }
  37.     },
  38.     {   name = libpipewire-module-loopback
  39.         args = {
  40.             audio.position = [ FL FR ]
  41.  
  42.             capture.props = {
  43.                 media.class = "Audio/Sink"
  44.                 node.name = "virtual_main_sink"
  45.                 node.description = "virtual:Main"
  46.             }
  47.             playback.props = {
  48.                 node.name = "virtual_main_source"
  49.                 node.passive = true
  50.                 target.object = "all_physical_outputs"
  51.             }
  52.         }
  53.     },
  54.     {   name = libpipewire-module-loopback
  55.         args = {
  56.             audio.position = [ FL FR ]
  57.             capture.props = {
  58.                 media.class = "Audio/Sink"
  59.                 node.name = "virtual_media_sink"
  60.                 node.description = "virtual:Media"
  61.             }
  62.             playback.props = {
  63.                 node.name = "virtual_media_source"
  64.                 node.passive = true
  65.                 target.object = "virtual_main"
  66.             }
  67.         }
  68.     },
  69.     {   name = libpipewire-module-loopback
  70.         args = {
  71.             node.name = "virtual_games"
  72.             audio.position = [ FL FR ]
  73.             capture.props = {
  74.                 media.class = "Audio/Sink"
  75.                 node.name = "virtual_games_sink"
  76.                 node.description = "virtual:Games"
  77.             }
  78.             playback.props = {
  79.                 node.name = "virtual_games_source"
  80.                 node.passive = true
  81.                 target.object = "virtual_main"
  82.             }
  83.         }
  84.     },
  85.     {   name = libpipewire-module-loopback
  86.         args = {
  87.             audio.position = [ FL FR ]
  88.             capture.props = {
  89.                 media.class = "Audio/Sink"
  90.                 node.name = "virtual_comms_sink"
  91.                 node.description = "virtual:Comms"
  92.             }
  93.             playback.props = {
  94.                 node.name = "virtual_comms_source"
  95.                 node.passive = true
  96.                 target.object = "virtual_main"
  97.             }
  98.         }
  99.     }
  100. ]
  101.  
Advertisement
Add Comment
Please, Sign In to add comment