summaryrefslogtreecommitdiff
path: root/src/krunch.h
blob: f24413bfb2f7774db71acbe7add4bc41279db6b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#ifndef KRUNCH__H
#define KRUNCH__H

#include "gui_class.h"
#include "lockin.h"

void* krunch(void* _arg);       // thread entry point

class krunch_arg {
public:
  myWindow* topwin;
  alsa_pcm* pcm;
  alsa_pcm* otherpcm;
  snark* setup;
  int pipefd;
  krunch_arg(myWindow* const _topwin,
        alsa_pcm* const _pcm, alsa_pcm* const _otherpcm,
        snark* const _setup, const int _pipefd)
  : topwin(_topwin), pcm(_pcm), otherpcm(_otherpcm),
    setup(_setup), pipefd(_pipefd)
  {}
};

#endif /* KRUNCH__H */