oss.h
| 1 |
--- src/oss4/oss.h.orig 2015-05-31 03:28:37.000000000 +0500 |
|---|---|
| 2 |
+++ src/oss4/oss.h 2015-10-20 17:34:07.568332000 +0500 |
| 3 |
@@ -27,6 +27,9 @@ |
| 4 |
#include <string.h> |
| 5 |
#include <sys/ioctl.h> |
| 6 |
|
| 7 |
+#include <poll.h> |
| 8 |
+#include <pthread.h> |
| 9 |
+ |
| 10 |
#ifdef HAVE_SYS_SOUNDCARD_H
|
| 11 |
#include <sys/soundcard.h> |
| 12 |
#else
|
| 13 |
@@ -141,6 +144,11 @@ |
| 14 |
|
| 15 |
bool m_paused = false; |
| 16 |
bool m_ioctl_vol = false; |
| 17 |
+ |
| 18 |
+ struct pollfd m_poll = { 0 }; |
| 19 |
+ |
| 20 |
+ pthread_mutex_t m_mutex = PTHREAD_MUTEX_INITIALIZER; |
| 21 |
+ pthread_cond_t m_cond = PTHREAD_COND_INITIALIZER; |
| 22 |
}; |
| 23 |
|
| 24 |
/* utils.c */
|
