JackClient.h 670 Bytes
Newer Older
jcaceres's avatar
jcaceres committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
//
// File: JackClient.h
// Created by: cc <cc@sony.stanford.edu>
// Created on: Sat Jul 26 13:08:21 2003
//

#ifndef _JACKCLIENT_H_
#define _JACKCLIENT_H_

#include <jack/jack.h>
#include "Stk.h"
#include "stdio.h"
#include "stdlib.h"
#include "qstring.h"

class AudioDevice;
class JackClient:public Stk
{
      public:
	JackClient (QString name, int nChans, int nFrames, bool output, 
	  bool input, AudioDevice * ad, int aro = 0);
	 ~JackClient ();
	void go ();
	void start ();
	void stop ();
int nChans;
int nFrames;
int alsa_readable_offset;

      protected:
	jack_client_t * client;
	const char **ports;
	  AudioDevice * audioDevice;
};


#endif //_JACKCLIENT_H_