diff options
Diffstat (limited to 'src/player.h')
-rw-r--r-- | src/player.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/player.h b/src/player.h index c210c09..7756d0a 100644 --- a/src/player.h +++ b/src/player.h @@ -27,6 +27,7 @@ THE SOFTWARE. #include <curl/curl.h> #include <neaacdec.h> #include <ao/ao.h> +#include <pthread.h> struct aacPlayer { /* buffer; should be large enough */ @@ -52,7 +53,7 @@ struct aacPlayer { ao_device *audioOutDevice; char *url; char doQuit; - char doPause; + pthread_mutex_t pauseMutex; CURL *audioFd; }; |