Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
gus_mixer.c File Reference
#include <linux/time.h>
#include <linux/wait.h>
#include <sound/core.h>
#include <sound/control.h>
#include <sound/gus.h>

Go to the source code of this file.

Macros

#define GF1_SINGLE(xname, xindex, shift, invert)
 
#define snd_gf1_info_single   snd_ctl_boolean_mono_info
 
#define ICS_DOUBLE(xname, xindex, addr)
 

Functions

int snd_gf1_new_mixer (struct snd_gus_card *gus)
 

Macro Definition Documentation

#define GF1_SINGLE (   xname,
  xindex,
  shift,
  invert 
)
Value:
{ .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = xname, .index = xindex, \
.get = snd_gf1_get_single, .put = snd_gf1_put_single, \
.private_value = shift | (invert << 8) }

Definition at line 32 of file gus_mixer.c.

#define ICS_DOUBLE (   xname,
  xindex,
  addr 
)
Value:
{ .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = xname, .index = xindex, \
.info = snd_ics_info_double, \
.get = snd_ics_get_double, .put = snd_ics_put_double, \
.private_value = addr }

Definition at line 75 of file gus_mixer.c.

#define snd_gf1_info_single   snd_ctl_boolean_mono_info

Definition at line 38 of file gus_mixer.c.

Function Documentation

int snd_gf1_new_mixer ( struct snd_gus_card gus)

Definition at line 158 of file gus_mixer.c.