Yair K. kirjoitti: > Hi, > > Can a oss_userdev be used as an input source? The example shows it being > used as an output source only. > The udserver.c sample program uses the userdev driver as a full duplex device. It reads the playback signal from the client/application side (vmix sum of all applications that have it open) and echoes it back to the client side. So clients can use the device both for input and outpt. > I'm thinking of creating a userdev which will "unite" separate input and > output devices to get around > http://4front-tech.com/forum/viewtopic.php?p=9518#9518 . > The vmix subsystem is better suited for this purpose. However it is practically impossible to attach vmix to USB devices so that the input and outut sides are used together. The kernel handles the input and output sides (audio streaming interfaces) as separate devices. The driver should wait until both the input and output side devices are attached before it calls vmix_attach_audiodev() for them. However there doesn't seem to be any way to figure out which audio interfaces belong together.
Best regards, Hannu _______________________________________________ oss-devel mailing list oss-devel@mailman.opensound.com http://mailman.opensound.com/mailman/listinfo/oss-devel