summaryrefslogtreecommitdiff
path: root/common/netjack.h
diff options
context:
space:
mode:
authorsletz <sletz@0c269be4-1314-0410-8aa9-9f06e86f4224>2011-03-10 15:10:47 +0000
committersletz <sletz@0c269be4-1314-0410-8aa9-9f06e86f4224>2011-03-10 15:10:47 +0000
commit8b2ddf4f3edbc05dc1fa8f388d894326b95433a0 (patch)
treec6c76d94cae6db65cab85f36f45c6af8d5a70fbb /common/netjack.h
parente1d31d1fe76f97590c104f46b828665666945033 (diff)
downloadjack2-8b2ddf4f3edbc05dc1fa8f388d894326b95433a0.tar.gz
Synchronize netjack1 with JACK1 version.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4171 0c269be4-1314-0410-8aa9-9f06e86f4224
Diffstat (limited to 'common/netjack.h')
-rw-r--r--common/netjack.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/common/netjack.h b/common/netjack.h
index edac28a0..2bdd092c 100644
--- a/common/netjack.h
+++ b/common/netjack.h
@@ -30,6 +30,10 @@
#include "jack/jslist.h"
+#if HAVE_CELT
+#include <celt/celt.h>
+#endif
+
//#include <netinet/in.h>
#ifdef __cplusplus
@@ -37,6 +41,8 @@ extern "C"
{
#endif
+struct _packet_cache;
+
typedef struct _netjack_driver_state netjack_driver_state_t;
struct _netjack_driver_state {
@@ -106,6 +112,10 @@ struct _netjack_driver_state {
unsigned int resample_factor;
unsigned int resample_factor_up;
int jitter_val;
+ struct _packet_cache * packcache;
+#if HAVE_CELT
+ CELTMode *celt_mode;
+#endif
};
int netjack_wait( netjack_driver_state_t *netj );