Remote Audio Device

OSS specific Solaris discussion (x86/SPARC)

Moderators: hannu, dev, kodachi, cesium

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
edberg
 
Posts: 2
Joined: Fri May 19, 2006 10:26 am

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
dev
 
Posts: 576
Joined: Fri Sep 12, 2003 6:08 am
Location: Culver City, CA

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

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

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

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
dev
 
Posts: 576
Joined: Fri Sep 12, 2003 6:08 am
Location: Culver City, CA


Return to Solaris

Who is online

Users browsing this forum: No registered users and 1 guest