Remote Audio Device

OSS specific Solaris discussion (x86/SPARC)

Moderators: hannu, dev, cesium

edberg
New Member
Posts: 2
Joined: Fri May 19, 2006 10:26 am

Remote Audio Device

Postby edberg » Fri May 19, 2006 10:32 am

How can i read/write in a remote /dev/audio device?

I use this code for the local device:
int fd open ( "/dev/audio", O_WRONLY|O_NONBLOCK);
write (fd, v_Buffer, v_Long_Buffer);

How can i get the /dev/audio from a remote machine?


Thanks

dev
Developer
Posts: 581
Joined: Fri Sep 12, 2003 6:08 am
Location: Culver City, CA
Contact:

Re: Remote Audio Device

Postby dev » Sun May 21, 2006 10:32 pm

edberg wrote:How can i read/write in a remote /dev/audio device?

I use this code for the local device:
int fd open ( "/dev/audio", O_WRONLY|O_NONBLOCK);
write (fd, v_Buffer, v_Long_Buffer);

How can i get the /dev/audio from a remote machine?


Thanks


You can't!. You would need to use something like Media Application Server (MAS) or ESD that can handle playing to remote displays.



regards
Dev Mazumdar

edberg
New Member
Posts: 2
Joined: Fri May 19, 2006 10:26 am

Postby edberg » Mon May 22, 2006 9:46 am

thank you, but... why is not possible??

regards

dev
Developer
Posts: 581
Joined: Fri Sep 12, 2003 6:08 am
Location: Culver City, CA
Contact:

Postby dev » Tue May 23, 2006 1:13 am

edberg wrote:thank you, but... why is not possible??

regards



because there's no way to transport the remote computer's audio bits.

You can try googling for "netcat" and see if that works.



regards
Dev Mazumdar


Return to “Solaris”

Who is online

Users browsing this forum: Bing [Bot] and 1 guest