diff options
author | John Denker <jsd@av8n.com> | 2024-03-16 11:21:23 -0700 |
---|---|---|
committer | John Denker <jsd@av8n.com> | 2024-03-16 11:42:15 -0700 |
commit | 9852b855db2a65ea6eb5e877411634820214ddf0 (patch) | |
tree | c4c4504b34ef81d67891ed137ec2cfaabb4d6d04 /src/krunch.h | |
parent | 634d365a03cb0581a062cd3cf4db9ae69f1cde26 (diff) |
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 */ |