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

From: Robin Gareus <robin@email-addr-hidden>
Date: Mon Nov 27 2006 - 20:17:26 EET

-----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-----
Received on Tue Nov 28 00:15:12 2006

This archive was generated by hypermail 2.1.8 : Tue Nov 28 2006 - 00:15:12 EET