Merge commit 'v2.6.30.10' into mini2440-stable-v2.6.30
[linux-2.6/mini2440.git] / sound / usb / usx2y / usx2yhwdeppcm.h
blob9c4fb84b2aa0f8f2a1e6d851055829244d3bded7
1 #define MAXPACK 50
2 #define MAXBUFFERMS 100
3 #define MAXSTRIDE 3
5 #define SSS (((MAXPACK*MAXBUFFERMS*MAXSTRIDE + 4096) / 4096) * 4096)
6 struct snd_usX2Y_hwdep_pcm_shm {
7 char playback[SSS];
8 char capture0x8[SSS];
9 char capture0xA[SSS];
10 volatile int playback_iso_head;
11 int playback_iso_start;
12 struct {
13 int frame,
14 offset,
15 length;
16 } captured_iso[128];
17 volatile int captured_iso_head;
18 volatile unsigned captured_iso_frames;
19 int capture_iso_start;
22 int usX2Y_hwdep_pcm_new(struct snd_card *card);