linux/drivers/media/pci/ivtv/ivtv-alsa-pcm.c

// SPDX-License-Identifier: GPL-2.0-or-later
/*
 *  ALSA PCM device for the
 *  ALSA interface to ivtv PCM capture streams
 *
 *  Copyright (C) 2009,2012  Andy Walls <[email protected]>
 *  Copyright (C) 2009  Devin Heitmueller <[email protected]>
 *
 *  Portions of this work were sponsored by ONELAN Limited for the cx18 driver
 */

#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)
{}