diff options
Diffstat (limited to 'src/krunch.h')
-rw-r--r-- | src/krunch.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/krunch.h b/src/krunch.h new file mode 100644 index 0000000..f24413b --- /dev/null +++ b/src/krunch.h @@ -0,0 +1,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 */ |