Skip to content

Instantly share code, notes, and snippets.

pactl load-module module-null-sink sink_name=websdr_sink sink_properties=device.description="WebSDR_Audio_Output"
@Sudo-Ivan
Sudo-Ivan / audio-sink-linux.sh
Last active September 3, 2024 05:18
Linux Audio Sink Script
#!/bin/bash
# Colors for output
GREEN='\033[0;32m'
RED='\033[0;31m'
NC='\033[0m'
# Check command existence
command_exists() {
command -v "$1" >/dev/null 2>&1