Searched refs:timer_fd (Results 1 – 4 of 4) sorted by relevance
664 pcm->timer_fd = open("/dev/snd/timer", O_RDWR | O_NONBLOCK); in enable_timer()665 if (pcm->timer_fd < 0) { in enable_timer()673 if (ioctl(pcm->timer_fd, SNDRV_TIMER_IOCTL_TREAD, &arg) < 0) { in enable_timer()693 if (ioctl(pcm->timer_fd, SNDRV_TIMER_IOCTL_SELECT, &sel) < 0) { in enable_timer()695 close(pcm->timer_fd); in enable_timer()704 if (ioctl(pcm->timer_fd, SNDRV_TIMER_IOCTL_PARAMS, &timer_param)< 0) { in enable_timer()707 if (ioctl(pcm->timer_fd, SNDRV_TIMER_IOCTL_START) < 0) { in enable_timer()708 close(pcm->timer_fd); in enable_timer()717 if (ioctl(pcm->timer_fd, SNDRV_TIMER_IOCTL_STOP) < 0) in disable_timer()719 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()