Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
pd-alsa.c File Reference
#include <linux/kernel.h>
#include <linux/usb.h>
#include <linux/init.h>
#include <linux/sound.h>
#include <linux/spinlock.h>
#include <linux/soundcard.h>
#include <linux/vmalloc.h>
#include <linux/proc_fs.h>
#include <linux/module.h>
#include <linux/gfp.h>
#include <sound/core.h>
#include <sound/pcm.h>
#include <sound/pcm_params.h>
#include <sound/info.h>
#include <sound/initval.h>
#include <sound/control.h>
#include <media/v4l2-common.h>
#include "pd-common.h"
#include "vendorcmds.h"

Go to the source code of this file.

Macros

#define AUDIO_EP   (0x83)
 
#define AUDIO_BUF_SIZE   (512)
 
#define PERIOD_SIZE   (1024 * 8)
 
#define PERIOD_MIN   (4)
 
#define PERIOD_MAX   PERIOD_MIN
 
#define AUDIO_TRAILER_SIZE   (16)
 

Functions

int poseidon_audio_init (struct poseidon *p)
 
int poseidon_audio_free (struct poseidon *p)
 

Macro Definition Documentation

#define AUDIO_BUF_SIZE   (512)

Definition at line 23 of file pd-alsa.c.

#define AUDIO_EP   (0x83)

Definition at line 22 of file pd-alsa.c.

#define AUDIO_TRAILER_SIZE   (16)

Definition at line 134 of file pd-alsa.c.

#define PERIOD_MAX   PERIOD_MIN

Definition at line 26 of file pd-alsa.c.

#define PERIOD_MIN   (4)

Definition at line 25 of file pd-alsa.c.

#define PERIOD_SIZE   (1024 * 8)

Definition at line 24 of file pd-alsa.c.

Function Documentation

int poseidon_audio_free ( struct poseidon p)

Definition at line 329 of file pd-alsa.c.

int poseidon_audio_init ( struct poseidon p)

Definition at line 296 of file pd-alsa.c.