File: eca-engine_impl.h

package info (click to toggle)
ecasound 2.9.3-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 6,292 kB
  • sloc: cpp: 39,475; sh: 4,335; lisp: 1,918; ansic: 1,883; makefile: 888; python: 617; ruby: 202
file content (43 lines) | stat: -rw-r--r-- 943 bytes parent folder | download | duplicates (5)
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
38
39
40
41
42
43
#ifndef INCLUDED_ECA_ENGINE_IMPL_H
#define INCLUDED_ECA_ENGINE_IMPL_H

#include <ctime>
#include <pthread.h>
#include <unistd.h>
#include <sys/time.h>

#include <kvu_message_queue.h>
#include <kvu_procedure_timer.h>

#include "eca-chainsetup.h"

/**
 * Private class used in ECA_ENGINE 
 * implementation.
 */
class ECA_ENGINE_impl {

  friend class ECA_ENGINE;

 private:

  PROCEDURE_TIMER looptimer_rep;
  PROCEDURE_TIMER looptimer_range_rep;

  double looptimer_low_rep;
  double looptimer_mid_rep;
  double looptimer_high_rep;

  MESSAGE_QUEUE_RT_C<ECA_ENGINE::complex_command_t> command_queue_rep;

  pthread_cond_t editlock_cond_repp;
  pthread_mutex_t editlock_mutex_repp;
  pthread_cond_t ecasound_stop_cond_repp;
  pthread_mutex_t ecasound_stop_mutex_repp;
  pthread_cond_t ecasound_exit_cond_repp;
  pthread_mutex_t ecasound_exit_mutex_repp;

  struct timeval multitrack_input_stamp_rep;
};

#endif /* INCLUDED_ECA_ENGINE_IMPL_H */