Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
capture.c File Reference
#include <linux/slab.h>
#include <sound/core.h>
#include <sound/pcm.h>
#include <sound/pcm_params.h>
#include "audio.h"
#include "capture.h"
#include "driver.h"
#include "pcm.h"
#include "pod.h"

Go to the source code of this file.

Functions

int line6_submit_audio_in_all_urbs (struct snd_line6_pcm *line6pcm)
 
void line6_unlink_audio_in_urbs (struct snd_line6_pcm *line6pcm)
 
void line6_wait_clear_audio_in_urbs (struct snd_line6_pcm *line6pcm)
 
void line6_unlink_wait_clear_audio_in_urbs (struct snd_line6_pcm *line6pcm)
 
void line6_capture_copy (struct snd_line6_pcm *line6pcm, char *fbuf, int fsize)
 
void line6_capture_check_period (struct snd_line6_pcm *line6pcm, int length)
 
void line6_free_capture_buffer (struct snd_line6_pcm *line6pcm)
 
int snd_line6_capture_trigger (struct snd_line6_pcm *line6pcm, int cmd)
 
int line6_create_audio_in_urbs (struct snd_line6_pcm *line6pcm)
 

Variables

struct snd_pcm_ops snd_line6_capture_ops
 

Function Documentation

void line6_capture_check_period ( struct snd_line6_pcm line6pcm,
int  length 
)

Definition at line 184 of file capture.c.

void line6_capture_copy ( struct snd_line6_pcm line6pcm,
char fbuf,
int  fsize 
)

Definition at line 143 of file capture.c.

int line6_create_audio_in_urbs ( struct snd_line6_pcm line6pcm)

Definition at line 404 of file capture.c.

void line6_free_capture_buffer ( struct snd_line6_pcm line6pcm)

Definition at line 196 of file capture.c.

int line6_submit_audio_in_all_urbs ( struct snd_line6_pcm line6pcm)

Definition at line 76 of file capture.c.

void line6_unlink_audio_in_urbs ( struct snd_line6_pcm line6pcm)

Definition at line 92 of file capture.c.

void line6_unlink_wait_clear_audio_in_urbs ( struct snd_line6_pcm line6pcm)

Definition at line 134 of file capture.c.

void line6_wait_clear_audio_in_urbs ( struct snd_line6_pcm line6pcm)

Definition at line 110 of file capture.c.

int snd_line6_capture_trigger ( struct snd_line6_pcm line6pcm,
int  cmd 
)

Definition at line 350 of file capture.c.

Variable Documentation

struct snd_pcm_ops snd_line6_capture_ops
Initial value:
= {
.open = snd_line6_capture_open,
.close = snd_line6_capture_close,
.hw_params = snd_line6_capture_hw_params,
.hw_free = snd_line6_capture_hw_free,
.prepare = snd_line6_prepare,
.trigger = snd_line6_trigger,
.pointer = snd_line6_capture_pointer,
}

Definition at line 393 of file capture.c.