Hi, There is no way to enumerate devices in OSSv3. Some applications have parsed /dev/sndstat. However that should not be done because all OSSv3 implementations use their own /dev/sndstat formatting.
The only possibility is to try to open /dev/dsp0 to /dev/dspN to see which devices are available. Note that some older Linux distributions don't have /dev/dsp0. Instead they use /dev/dsp as the first device. Best regards, Hannu ----- com.opensound.mailman.oss-de...@coreland.ath.cx wrote: > Hello. > > Is there a way to get something approaching the device enumeration API of > v4 in v3? > > My application needs to be compatible with v3 and therefore, I need to write > some "compatibility" code to list devices and basic information about their > capabilities. > > The documentation for v3 seems silent on the matter. > > _______________________________________________ > 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