d6jg wrote: 
> I have the json metadata working but not the Squeezelite piped to
> Icecast. Perhaps we could trade the two?

d6jg, maybe I'm misreading what you are working on, but in case it might
be helpful, I messed around with snd-aloop (as bpa mentioned) some time
ago 'in this thread.'
(https://forums.slimdevices.com/showthread.php?112536-Alpine-Linux-Bluetooth-and-Squeezelite-Experiments)
The fossil link I posted in that thread (which was supposed to be to my
versioned source files) doesn't work, I took that stuff down but if you
want me to verify if the below asound.conf (copied from the thread) was
my final version I can do that.

I said in that thread:
> I've tested everything again and it's all working well. I paired my
> headphones, my phone, and my wife's phone and was able to play prime
> music from my phone, youtube audio from my wife's phone, music from
> squeezelite all at the same time streamed to my bluetooth headset
> synchronized with the onboard audio. Not that you'd ever want to do
> that, but it worked.

Contents of /etc/asound.conf

Code:
--------------------
    
  # duplicate audio to all Loopback channels
  pcm.!default plug:aloopx
  
  pcm.aloopx {
  type route;
  slave.pcm {
  type multi;
  slaves.a.pcm "aloop0";
  slaves.b.pcm "aloop1";
  slaves.c.pcm "aloop2";
  slaves.d.pcm "aloop3";
  slaves.e.pcm "aloop4";
  slaves.f.pcm "aloop5";
  slaves.g.pcm "aloop6";
  slaves.h.pcm "aloop7";
  slaves.a.channels 2;
  slaves.b.channels 2;
  slaves.c.channels 2;
  slaves.d.channels 2;
  slaves.e.channels 2;
  slaves.f.channels 2;
  slaves.g.channels 2;
  slaves.h.channels 2;
  bindings.0.slave a;
  bindings.0.channel 0;
  bindings.1.slave a;
  bindings.1.channel 1;
  
  bindings.2.slave b;
  bindings.2.channel 0;
  bindings.3.slave b;
  bindings.3.channel 1;
  
  bindings.4.slave c;
  bindings.4.channel 0;
  bindings.5.slave c;
  bindings.5.channel 1;
  
  bindings.6.slave d;
  bindings.6.channel 0;
  bindings.7.slave d;
  bindings.7.channel 1;
  
  bindings.8.slave e;
  bindings.8.channel 0;
  bindings.9.slave e;
  bindings.9.channel 1;
  
  bindings.10.slave f;
  bindings.10.channel 0;
  bindings.11.slave f;
  bindings.11.channel 1;
  
  bindings.12.slave g;
  bindings.12.channel 0;
  bindings.13.slave g;
  bindings.13.channel 1;
  
  bindings.14.slave h;
  bindings.14.channel 0;
  bindings.15.slave h;
  bindings.15.channel 1;
  
  }
  
  ttable.0.0 1;
  ttable.1.1 1;
  
  ttable.0.2 1;
  ttable.1.3 1;
  
  ttable.0.4 1;
  ttable.1.5 1;
  
  ttable.0.6 1;
  ttable.1.7 1;
  
  ttable.0.8 1;
  ttable.1.9 1;
  
  ttable.0.10 1;
  ttable.1.11 1;
  
  ttable.0.12 1;
  ttable.1.13 1;
  
  ttable.0.14 1;
  ttable.1.15 1;
  }
  
  pcm.aloop0 {
  type dmix
  ipc_key 1024
  slave {
  pcm "hw:Loopback,0,0"
  rate 48000
  channels 2
  period_size 1024
  buffer_size 8192
  }
  bindings {
  0 0
  1 1
  }
  }
  
  pcm.aloop1 {
  type dmix
  ipc_key 2048
  slave {
  pcm "hw:Loopback,0,1"
  rate 48000
  channels 2
  period_size 1024
  buffer_size 8192
  }
  bindings {
  0 0
  1 1
  }
  }
  
  pcm.aloop2 {
  type dmix
  ipc_key 4096
  slave {
  pcm "hw:Loopback,0,2"
  rate 48000
  channels 2
  period_size 1024
  buffer_size 8192
  }
  bindings {
  0 0
  1 1
  }
  }
  
  pcm.aloop3 {
  type dmix
  ipc_key 8092
  slave {
  pcm "hw:Loopback,0,3"
  rate 48000
  channels 2
  period_size 1024
  buffer_size 8192
  }
  bindings {
  0 0
  1 1
  }
  }
  
  pcm.aloop4 {
  type dmix
  ipc_key 16184
  slave {
  pcm "hw:Loopback,0,4"
  rate 48000
  channels 2
  period_size 1024
  buffer_size 8192
  }
  bindings {
  0 0
  1 1
  }
  }
  
  pcm.aloop5 {
  type dmix
  ipc_key 32368
  slave {
  pcm "hw:Loopback,0,5"
  rate 48000
  channels 2
  period_size 1024
  buffer_size 8192
  }
  bindings {
  0 0
  1 1
  }
  }
  
  pcm.aloop6 {
  type dmix
  ipc_key 64736
  slave {
  pcm "hw:Loopback,0,6"
  rate 48000
  channels 2
  period_size 1024
  buffer_size 8192
  }
  bindings {
  0 0
  1 1
  }
  }
  
  pcm.aloop7 {
  type dmix
  ipc_key 129472
  slave {
  pcm "hw:Loopback,0,7"
  rate 48000
  channels 2
  period_size 1024
  buffer_size 8192
  }
  bindings {
  0 0
  1 1
  }
  }
  
--------------------


------------------------------------------------------------------------
sodface's Profile: http://forums.slimdevices.com/member.php?userid=19057
View this thread: http://forums.slimdevices.com/showthread.php?t=112809

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to