};
struct ct_atc;
+struct ct_timer;
+struct ct_timer_instance;
/* alsa pcm stream descriptor */
struct ct_atc_pcm {
struct snd_pcm_substream *substream;
void (*interrupt)(struct ct_atc_pcm *apcm);
+ struct ct_timer_instance *timer;
unsigned int started:1;
- unsigned int stop_timer:1;
- struct timer_list timer;
- spinlock_t timer_lock;
- unsigned int position;
/* Only mono and interleaved modes are supported now. */
struct ct_vm_block *vm_block;
unsigned char n_src;
unsigned char n_srcimp;
unsigned char n_pcm;
+
+ struct ct_timer *timer;
};