HomeSort by: relevance | last modified time | path
    Searched refs:ctlfd (Results 1 - 2 of 2) sorted by relevancy

  /src/usr.bin/audiocfg/
audiodev.h 50 int ctlfd; member in struct:audiodev
audiodev.c 68 adev->ctlfd = open(adev->ctlpath, O_RDONLY);
69 if (adev->ctlfd == -1) {
72 if (ioctl(adev->ctlfd, AUDIO_GETDEV, &adev->audio_device) == -1) {
73 close(adev->ctlfd);
80 if (ioctl(adev->ctlfd, AUDIO_QUERYFORMAT, &query) == -1) {
87 close(adev->ctlfd);
96 if (ioctl(adev->ctlfd, AUDIO_GETFORMAT, &adev->hwinfo) == -1) {
97 close(adev->ctlfd);
163 if (adev->ctlfd != -1)
164 close(adev->ctlfd);
    [all...]

Completed in 12 milliseconds