Saketh wrote: > Hi everyone, > > I have a remote Linux server which doesn't have a sound card, accessed > through VNC. Because it doesn't have a sound card, applications that > require a sound card (e.g. Skype) fail to run. > > I am using the server for software-only purposes, such as playing > local wave files over VoIP lines. As far as I know, this does not > technically require a sound card, though I could be wrong about that. > > I found on this site > (http://www.opensound.com/forum/viewtopic.php?p=11745&sid=189e5f1879aac0c28b6883034a2c2faf > > <http://www.opensound.com/forum/viewtopic.php?p=11745&sid=189e5f1879aac0c28b6883034a2c2faf>) > > a mention of oss_audioloop and oss_userdev as potential solutions for > this, so I thought that I should ask on this mailing list. > > To summarize the question -- is it possible to emulate a sound card in > software as "hw:0,0" or "/dev/dsp", such that applications will > consider it to be a valid sound card? It is possible by using oss_audioloop or oss_userdev. The audioloop driver is easier to use. You can use "modprobe oss_audioloop" to load the driver. Then you can use some (VoIP) application to listen the server side device. Any application can use the client side device when the server is running.
The limitation of oss_audioloop is that this driver is unidirectional. The oss_userdev driver can do full duplex. However the server side application needs to be modified to work as an oss_userdev server. Unfortunately there is no documentation for this yet. However the tutorials/sndkit/userdev_demo/udserver.c sample program demonstrates one way to do this. Best regards, Hannu _______________________________________________ oss-devel mailing list oss-devel@mailman.opensound.com http://mailman.opensound.com/mailman/listinfo/oss-devel