Fix timer read in non-TREAD mode

Fix timer read in non-TREAD mode.  (the struct is different.)
This commit is contained in:
Takashi Iwai 2005-04-15 09:22:48 +00:00
parent c5fc9e7cf7
commit 9a0f2817bb
2 changed files with 15 additions and 8 deletions

View file

@ -96,6 +96,7 @@ struct snd_pcm_direct {
int comm_fd; /* communication file descriptor (socket) */
int hw_fd; /* hardware file descriptor */
int poll_fd;
int tread;
int server_fd;
pid_t server_pid;
snd_timer_t *timer; /* timer used as poll_fd */