#!/bin/bash # see pulse.c # Pulseaudio supports several ways to transport audio over the network # (tcp and rtp). However I've found those to be unreliable. # The C interface to pulseaudio is very simple, so the most flexible # way I've found now is to just use I/O pipes tp bridge the recording # of a local sink montor to playback. This can then be transported # over ssh. pulse.c defaults to 48kHz,2channels [ -z "$1" ] && echo "usage: $0 " && exit 1 pulse record | ssh $1 pulse playback