SNDCTL_DSP_GETCAPS
case SNDCTL_DSP_GETCAPS:
#define SOUND_PCM_GETCAPS SNDCTL_DSP_GETCAPS
if (ioctl(fd, SNDCTL_DSP_GETCAPS, &caps) < 0)