#include <linux/init.h>
#include <linux/list.h>
#include <linux/mutex.h>
#include <linux/slab.h>
#include <linux/usb.h>
#include <sound/pcm.h>
#include <sound/core.h>
#include "usbaudio.h"
#include "card.h"
#include "mixer.h"
#include "media.h"
int snd_media_stream_init(struct snd_usb_substream *subs, struct snd_pcm *pcm,
int stream)
{ … }
void snd_media_stream_delete(struct snd_usb_substream *subs)
{ … }
int snd_media_start_pipeline(struct snd_usb_substream *subs)
{ … }
void snd_media_stop_pipeline(struct snd_usb_substream *subs)
{ … }
static int snd_media_mixer_init(struct snd_usb_audio *chip)
{ … }
static void snd_media_mixer_delete(struct snd_usb_audio *chip)
{ … }
int snd_media_device_create(struct snd_usb_audio *chip,
struct usb_interface *iface)
{ … }
void snd_media_device_delete(struct snd_usb_audio *chip)
{ … }