diff options
Diffstat (limited to 'snd-pcxhr/src/pcxhr_clock_monitoring.h')
-rw-r--r-- | snd-pcxhr/src/pcxhr_clock_monitoring.h | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/snd-pcxhr/src/pcxhr_clock_monitoring.h b/snd-pcxhr/src/pcxhr_clock_monitoring.h new file mode 100644 index 0000000..9825f9d --- /dev/null +++ b/snd-pcxhr/src/pcxhr_clock_monitoring.h @@ -0,0 +1,34 @@ +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * Driver for Digigram pcxhr compatible soundcards + * + * Copyright (c) 2004 by Digigram <alsa@digigram.com> + */ + + +#ifndef __SOUND_PCXHR_CLOCK_MONITORING_H +#define __SOUND_PCXHR_CLOCK_MONITORING_H +#include "pcxhr.h" + + + +/* +A timer wake up a hread wich monitor clock. +*/ + + +//initialise clock management +int clockMonitor_init(struct pcxhr_mgr *mgr); +//clean all kmalloc,etc... +int clockMonitor_free(struct pcxhr_mgr *mgr); + +//stop clock management +int clockMonitor_stop(struct pcxhr_mgr *mgr); +//start clock management. needs clockMonitor_init before +int clockMonitor_start(struct pcxhr_mgr *mgr); + + + + + +#endif //__SOUND_PCXHR_CLOCK_MONITORING_H |