0001
0002
0003
0004
0005
0006 #ifndef __CTTIMER_H
0007 #define __CTTIMER_H
0008
0009 #include <linux/spinlock.h>
0010 #include <linux/timer.h>
0011 #include <linux/list.h>
0012
0013 struct snd_pcm_substream;
0014 struct ct_atc;
0015 struct ct_atc_pcm;
0016
0017 struct ct_timer;
0018 struct ct_timer_instance;
0019
0020 struct ct_timer *ct_timer_new(struct ct_atc *atc);
0021 void ct_timer_free(struct ct_timer *atimer);
0022
0023 struct ct_timer_instance *
0024 ct_timer_instance_new(struct ct_timer *atimer, struct ct_atc_pcm *apcm);
0025 void ct_timer_instance_free(struct ct_timer_instance *ti);
0026 void ct_timer_start(struct ct_timer_instance *ti);
0027 void ct_timer_stop(struct ct_timer_instance *ti);
0028 void ct_timer_prepare(struct ct_timer_instance *ti);
0029
0030 #endif