#include <linux/slab.h>
#include <sound/core.h>
#include <sound/pcm.h>
#include <sound/pcm_params.h>
#include "capture.h"
#include "driver.h"
#include "pcm.h"
#include "playback.h"
static void change_volume(struct urb *urb_out, int volume[],
int bytes_per_frame)
{ … }
static void create_impulse_test_signal(struct snd_line6_pcm *line6pcm,
struct urb *urb_out, int bytes_per_frame)
{ … }
static void add_monitor_signal(struct urb *urb_out, unsigned char *signal,
int volume, int bytes_per_frame)
{ … }
static int submit_audio_out_urb(struct snd_line6_pcm *line6pcm)
{ … }
int line6_submit_audio_out_all_urbs(struct snd_line6_pcm *line6pcm)
{ … }
static void audio_out_callback(struct urb *urb)
{ … }
static int snd_line6_playback_open(struct snd_pcm_substream *substream)
{ … }
static int snd_line6_playback_close(struct snd_pcm_substream *substream)
{ … }
const struct snd_pcm_ops snd_line6_playback_ops = …;
int line6_create_audio_out_urbs(struct snd_line6_pcm *line6pcm)
{ … }