Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
s6000-pcm.h
Go to the documentation of this file.
1 /*
2  * ALSA PCM interface for the Stretch s6000 family
3  *
4  * Author: Daniel Gloeckner, <[email protected]>
5  * Copyright: (C) 2009 emlix GmbH <[email protected]>
6  *
7  * This program is free software; you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License version 2 as
9  * published by the Free Software Foundation.
10  */
11 
12 #ifndef _S6000_PCM_H
13 #define _S6000_PCM_H
14 
15 struct snd_soc_dai;
16 struct snd_pcm_substream;
17 
19  unsigned int (*check_xrun)(struct snd_soc_dai *cpu_dai);
20  int (*trigger)(struct snd_pcm_substream *substream, int cmd, int after);
25  int irq;
26  int same_rate;
27 
29  int in_use;
30  int rate;
31 };
32 
33 #endif