Hannu: I'm trying to run Skype through pulseaudio. I set up what you said (did modprobe osscore, oss_audioloop, oss_userdev, depmod -a, finally ossdevlinks -v -r), but osstest hangs on [Left] and Skype fails with "assertion failed: pcm->stream."
Here is the result of ossinfo: Version info: OSS 4.1 (b 1052/200903240610) (0x00040100) Platform: Linux/i686 2.6.24-24-server #1 SMP Wed Apr 15 16:36:01 UTC 2009 (r2d2) Number of audio devices: 4 Number of audio engines: 4 Number of mixer devices: 0 Device objects 0: osscore0 OSS core services 1: oss_usb0 USB audio core services 2: oss_audioloop0 audioloop 3: oss_audioloop0 audioloop 4: oss_userdev0 User space audio driver subsystem Mixer devices Audio devices Audio loopback 0 server side /dev/oss/oss_audioloop0/server0 (device index 0) (Audio loopback 0 /dev/oss/oss_audioloop0/pcm0 ) (device index 1) User space audio device client side /dev/oss/oss_userdev0/client (device index 2) User space audio device server side /dev/oss/oss_userdev0/server (device index 3) And here is my ~/.asoundrc file: pcm.skype { type asym playback.pcm { type plug slave.pcm "hw:0,0" } capture.pcm { type plug slave.pcm "hw:0,0" } } I've tried changing the addresses (e.g. "hw:0,1"), but I haven't been able to figure out how to get oss_audioloop or oss_userdev to load as a valid virtual sound card that passes the osstest. Thanks very much -- I appreciate any ideas you may have! Sincerely, Saketh On Mon, Jul 13, 2009 at 6:21 PM, Hannu Savolainen <ha...@opensound.com>wrote: > 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 >
_______________________________________________ oss-devel mailing list oss-devel@mailman.opensound.com http://mailman.opensound.com/mailman/listinfo/oss-devel