summaryrefslogtreecommitdiffstats
path: root/src/engine
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-10-18 20:06:11 +0000
committerDavid Robillard <d@drobilla.net>2008-10-18 20:06:11 +0000
commita4876d30d938322a48537be2d29e73fb64174c0a (patch)
tree5835c579f0e18cc0810963aeda8d09a5c82cdeb9 /src/engine
parent18dbb3f103795daab90cabf83335c51cb7c05621 (diff)
downloadingen-a4876d30d938322a48537be2d29e73fb64174c0a.tar.gz
ingen-a4876d30d938322a48537be2d29e73fb64174c0a.tar.bz2
ingen-a4876d30d938322a48537be2d29e73fb64174c0a.zip
Remove mandatory libjack dependency (just for typedefs).
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1679 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/engine')
-rw-r--r--src/engine/types.hpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/engine/types.hpp b/src/engine/types.hpp
index d242e61d..7199e2d6 100644
--- a/src/engine/types.hpp
+++ b/src/engine/types.hpp
@@ -19,15 +19,14 @@
#define TYPES_HPP
#include <cstddef> // for NULL, size_t, etc
-#include <jack/jack.h>
typedef unsigned char uchar;
typedef unsigned int uint;
typedef unsigned long ulong;
-typedef jack_default_audio_sample_t Sample;
-typedef jack_nframes_t SampleCount;
-typedef jack_nframes_t SampleRate;
-typedef jack_nframes_t FrameTime;
+typedef float Sample;
+typedef uint32_t SampleCount;
+typedef uint32_t SampleRate;
+typedef uint32_t FrameTime;
#endif // TYPES_HPP