#include "ivtv-driver.h"
#include "ivtv-queue.h"
#include "ivtv-streams.h"
#include "ivtv-fileops.h"
#include "ivtv-alsa.h"
#include "ivtv-alsa-pcm.h"
#include <sound/core.h>
#include <sound/pcm.h>
static unsigned int pcm_debug;
module_param(pcm_debug, int, 0644);
MODULE_PARM_DESC(…) …;
#define dprintk(fmt, arg...) …
static const struct snd_pcm_hardware snd_ivtv_hw_capture = …;
static void ivtv_alsa_announce_pcm_data(struct snd_ivtv_card *itvsc,
u8 *pcm_data,
size_t num_bytes)
{ … }
static int snd_ivtv_pcm_capture_open(struct snd_pcm_substream *substream)
{ … }
static int snd_ivtv_pcm_capture_close(struct snd_pcm_substream *substream)
{ … }
static int snd_ivtv_pcm_prepare(struct snd_pcm_substream *substream)
{ … }
static int snd_ivtv_pcm_trigger(struct snd_pcm_substream *substream, int cmd)
{ … }
static
snd_pcm_uframes_t snd_ivtv_pcm_pointer(struct snd_pcm_substream *substream)
{ … }
static const struct snd_pcm_ops snd_ivtv_pcm_capture_ops = …;
int snd_ivtv_pcm_create(struct snd_ivtv_card *itvsc)
{ … }