Hi here.
I am playing with this shairport plugin for my squeezelite player.
I see, that when i use the .asound solution, for sharing both LMS server stream, and airplay, the CPU usage goes higher.
Look below:
Around 48% CPU usage with "default/.asoundrc"
/home/tc/squeezelite/squeezelite-armv6hf -z -a 80 4 -n PlayBox -m xxxxxxx 5E -s 192.168.1.1xx
Around 8% COU usage with "hw:CARD=D20"
/home/tc/squeezelite/squeezelite-armv6hf -z -a 80 4 -o hw:CARD=D20 -n PlayBox -m xxxxxxx 5E -s 192.168.1.1xx
Well, i was thinking that if it was possible to identificate, wheather some media connect to shairport, then i can kill squeezelite with my D20 CARD, and start it with default(.asoundrc) CARD. -This way, CPU will only be high when shairport is actually used.
Any hints
Rgds; Jesper.