summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/cx18/cx18-alsa.h
diff options
context:
space:
mode:
authorDevin Heitmueller2010-01-19 01:29:51 +0100
committerMauro Carvalho Chehab2010-02-26 19:10:43 +0100
commit9972de904216828c9f9f9d638df52206aa2bacd1 (patch)
tree6f0fdaa8835a32ad348782debbe3d4a68168237b /drivers/media/video/cx18/cx18-alsa.h
parentV4L/DVB: cx18: export a couple of symbols so they can be shared with cx18-alsa (diff)
downloadkernel-qcow2-linux-9972de904216828c9f9f9d638df52206aa2bacd1.tar.gz
kernel-qcow2-linux-9972de904216828c9f9f9d638df52206aa2bacd1.tar.xz
kernel-qcow2-linux-9972de904216828c9f9f9d638df52206aa2bacd1.zip
V4L/DVB: cx18: overhaul ALSA PCM device handling so it works
Add code so that the PCM ALSA device actually works, and update the cx18-streams mechanism so that it passes the data off to the cx18-alsa module. This work was sponsored by ONELAN Limited. Signed-off-by: Devin Heitmueller <dheitmueller@kernellabs.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/cx18/cx18-alsa.h')
-rw-r--r--drivers/media/video/cx18/cx18-alsa.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/media/video/cx18/cx18-alsa.h b/drivers/media/video/cx18/cx18-alsa.h
index ea8576fd5786..2546779b7313 100644
--- a/drivers/media/video/cx18/cx18-alsa.h
+++ b/drivers/media/video/cx18/cx18-alsa.h
@@ -24,6 +24,10 @@ struct snd_card;
struct snd_cx18_card {
struct v4l2_device *v4l2_dev;
struct snd_card *sc;
+ unsigned int capture_transfer_done;
+ unsigned int hwptr_done_capture;
+ struct snd_pcm_substream *capture_pcm_substream;
+ spinlock_t slock;
};
extern int cx18_alsa_debug;