[linux-audio-user] Dirty hack: netmounting /dev/dsp

Robin Gareus robin at gareus.org
Mon Nov 27 13:17:26 EST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Markus Herhoffer wrote:
> Hello!
> 
> I wanted to know if it was possible to mount the /dev/dsp of my pc via
> netmount on another system. So I tried it out - and it worked. If I do
> 
> # cat /dev/urandom > /mnt/net/pc_2/dev/dsp
> 
> the soundcard on the remote pc produces a white noise. But I could not
> figure out how to play wav/pcm files through this dirty "Streaming API".
> Any ideas? Piping the stdout of mplayer doesn't work.

Did you try to pipe it thu sox(1). mplayer just can't guess the device
format correctly. AFAIR /dev/dsp defaults to 8bit 8kHz mono

Maybe you are looking for rplay-server / rplay-client or a wireless
headphone, but netmount is surely more fun.

cheers,
robin
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFFayt/eVUk8U+VK0IRAit4AJ4mWQyrQxQ92jxYSWEHktROOfxFPwCfScbJ
67xjg0r0rkCo9O1FDeFCq5E=
=BHlk
-----END PGP SIGNATURE-----



More information about the Linux-audio-user mailing list