Re: Dirty hack: netmounting /dev/dsp

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----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-----

[Index of Archives]     [Linux Sound]     [ALSA Users]     [Pulse Audio]     [ALSA Devel]     [Sox Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux