Go to file
2024-02-28 00:29:34 +03:00
README.txt updated 2024-02-28 00:29:34 +03:00
server.c updated 2024-02-28 00:29:34 +03:00

#Multiuser udp server for broadcasting music


#Record audio in sterio
arecord -D loopout --buffer-size=20000 -f S16_LE -t raw -r 48000 -c 2 | ./server


#Geting raw pcm data and send to speaker
echo "JOIN" | nc -u server_ip server_port | aplay -r 48000 -f S16_LE -c 2