Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions
emu10k1_callback.c File Reference
#include <linux/export.h>
#include "emu10k1_synth_local.h"
#include <sound/asoundef.h>

Go to the source code of this file.

Data Structures

struct  best_voice
 

Macros

#define LIMITVALUE(x, a, b)   do { if ((x) < (a)) (x) = (a); else if ((x) > (b)) (x) = (b); } while (0)
 
#define LIMITMAX(x, a)   do {if ((x) > (a)) (x) = (a); } while (0)
 
#define MOD_SENSE   18
 

Enumerations

enum  {
  V_FREE =0, V_OFF, V_RELEASED, V_PLAYING,
  V_END
}
 

Functions

void snd_emu10k1_ops_setup (struct snd_emux *emux)
 
int snd_emu10k1_synth_get_voice (struct snd_emu10k1 *hw)
 

Macro Definition Documentation

#define LIMITMAX (   x,
  a 
)    do {if ((x) > (a)) (x) = (a); } while (0)

Definition at line 58 of file emu10k1_callback.c.

#define LIMITVALUE (   x,
  a,
  b 
)    do { if ((x) < (a)) (x) = (a); else if ((x) > (b)) (x) = (b); } while (0)

Definition at line 57 of file emu10k1_callback.c.

#define MOD_SENSE   18

Definition at line 506 of file emu10k1_callback.c.

Enumeration Type Documentation

anonymous enum
Enumerator:
V_FREE 
V_OFF 
V_RELEASED 
V_PLAYING 
V_END 

Definition at line 26 of file emu10k1_callback.c.

Function Documentation

void snd_emu10k1_ops_setup ( struct snd_emux emux)

Definition at line 78 of file emu10k1_callback.c.

int snd_emu10k1_synth_get_voice ( struct snd_emu10k1 *  hw)

Definition at line 90 of file emu10k1_callback.c.