mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-04 13:30:08 -05:00
Check timer version for read-block workaround
Check the timer protocl version whether to use poll for a workaround of read-block problems.
This commit is contained in:
parent
0d0e1a55c2
commit
48bff53b36
2 changed files with 27 additions and 11 deletions
|
|
@ -95,8 +95,10 @@ struct snd_pcm_direct {
|
|||
int server, client;
|
||||
int comm_fd; /* communication file descriptor (socket) */
|
||||
int hw_fd; /* hardware file descriptor */
|
||||
struct pollfd timer_fd;
|
||||
int poll_fd;
|
||||
int tread;
|
||||
int timer_need_poll;
|
||||
int server_fd;
|
||||
pid_t server_pid;
|
||||
snd_timer_t *timer; /* timer used as poll_fd */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue