Michał Lipski wrote: > Hello,while opening device with O_EXCL flag I can't get proper value of > volume(SNDCTL_DSP_GETPLAYVOL). Instead 100/100 I get 0/0...
Most ioctl calls added since OSS 3.x are optional. Some drivers implement them while most others don't. This depends on the capabilities of the device. In addition the virtual mixer emulates many features in software. The call reports EINVAL error which tells the application that the feature is not available. > Should I use mixerfor that? No. There is no way to know which control and in which mixer you should change to get the same result. You should not try to invent some workaround. Simply disable the volume control feature in the application. Hannu _______________________________________________ oss-devel mailing list oss-devel@mailman.opensound.com http://mailman.opensound.com/mailman/listinfo/oss-devel