Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
emu8000_pcm.c File Reference
#include "emu8000_local.h"
#include <linux/init.h>
#include <linux/slab.h>
#include <sound/initval.h>
#include <sound/pcm.h>

Go to the source code of this file.

Data Structures

struct  snd_emu8k_pcm
 

Macros

#define LOOP_BLANK_SIZE   8
 
#define OFFSET_SAMPLERATE   1011119 /* base = 44100 */
 
#define SAMPLERATE_RATIO   4096
 
#define CHECK_SCHEDULER()
 

Functions

int snd_emu8000_pcm_new (struct snd_card *card, struct snd_emu8000 *emu, int index)
 

Macro Definition Documentation

#define CHECK_SCHEDULER ( )
Value:
do { \
cond_resched();\
if (signal_pending(current))\
return -EAGAIN;\
} while (0)

Definition at line 420 of file emu8000_pcm.c.

#define LOOP_BLANK_SIZE   8

Definition at line 72 of file emu8000_pcm.c.

#define OFFSET_SAMPLERATE   1011119 /* base = 44100 */

Definition at line 146 of file emu8000_pcm.c.

#define SAMPLERATE_RATIO   4096

Definition at line 147 of file emu8000_pcm.c.

Function Documentation

int snd_emu8000_pcm_new ( struct snd_card card,
struct snd_emu8000 emu,
int  index 
)

Definition at line 690 of file emu8000_pcm.c.