Searched refs:timer_fd (Results 1 – 4 of 4) sorted by relevance
660 pcm->timer_fd = open("/dev/snd/timer", O_RDWR | O_NONBLOCK); in enable_timer()661 if (pcm->timer_fd < 0) { in enable_timer()669 if (ioctl(pcm->timer_fd, SNDRV_TIMER_IOCTL_TREAD, &arg) < 0) { in enable_timer()689 if (ioctl(pcm->timer_fd, SNDRV_TIMER_IOCTL_SELECT, &sel) < 0) { in enable_timer()691 close(pcm->timer_fd); in enable_timer()700 if (ioctl(pcm->timer_fd, SNDRV_TIMER_IOCTL_PARAMS, &timer_param)< 0) { in enable_timer()703 if (ioctl(pcm->timer_fd, SNDRV_TIMER_IOCTL_START) < 0) { in enable_timer()704 close(pcm->timer_fd); in enable_timer()713 if (ioctl(pcm->timer_fd, SNDRV_TIMER_IOCTL_STOP) < 0) in disable_timer()715 return close(pcm->timer_fd); in disable_timer()
26 int timer_fd; member
278 pfd[0].fd = pcm->timer_fd; in play_file()
811 pfdUsbPlayback[0].fd = musbPlaybackHandle->timer_fd; in PlaybackThreadEntry()