File: samplebuffer_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 (41 lines) | stat: -rw-r--r-- 693 bytes parent folder | download | duplicates (6)
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
#ifndef INCLUDED_SAMPLEBUFFER_IMPL_H
#define INCLUDED_SAMPLEBUFFER_IMPL_H

#include <vector>
#include "samplebuffer.h" 

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#ifdef ECA_COMPILE_SAMPLERATE
#include <samplerate.h>
#endif

class SAMPLE_BUFFER_impl {

 public:

  friend class SAMPLE_BUFFER;

 private:

  /** @name Misc member variables */
  /*@{*/
  
  bool rt_lock_rep;
  int lockref_rep;
  int quality_rep;
  int event_tags_rep;

  SAMPLE_BUFFER::sample_t* old_buffer_repp; // for resampling
  std::vector<SAMPLE_BUFFER::sample_t> resample_memory_rep;
#ifdef ECA_COMPILE_SAMPLERATE
  int src_state_channels_rep;
  std::vector<SRC_STATE*> src_state_rep;
#endif

  /*@}*/
};

#endif