Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
mixer_oss.c File Reference
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/time.h>
#include <linux/string.h>
#include <linux/module.h>
#include <sound/core.h>
#include <sound/minors.h>
#include <sound/control.h>
#include <sound/info.h>
#include <sound/mixer_oss.h>
#include <linux/soundcard.h>

Go to the source code of this file.

Data Structures

struct  slot
 
struct  snd_mixer_oss_assign_table
 

Macros

#define OSS_ALSAEMULVER   _SIOR ('M', 249, int)
 
#define snd_mixer_oss_ioctl_compat   NULL
 
#define SNDRV_MIXER_OSS_SIGNATURE   0x65999250
 
#define SNDRV_MIXER_OSS_ITEM_GLOBAL   0
 
#define SNDRV_MIXER_OSS_ITEM_GSWITCH   1
 
#define SNDRV_MIXER_OSS_ITEM_GROUTE   2
 
#define SNDRV_MIXER_OSS_ITEM_GVOLUME   3
 
#define SNDRV_MIXER_OSS_ITEM_PSWITCH   4
 
#define SNDRV_MIXER_OSS_ITEM_PROUTE   5
 
#define SNDRV_MIXER_OSS_ITEM_PVOLUME   6
 
#define SNDRV_MIXER_OSS_ITEM_CSWITCH   7
 
#define SNDRV_MIXER_OSS_ITEM_CROUTE   8
 
#define SNDRV_MIXER_OSS_ITEM_CVOLUME   9
 
#define SNDRV_MIXER_OSS_ITEM_CAPTURE   10
 
#define SNDRV_MIXER_OSS_ITEM_COUNT   11
 
#define SNDRV_MIXER_OSS_PRESENT_GLOBAL   (1<<0)
 
#define SNDRV_MIXER_OSS_PRESENT_GSWITCH   (1<<1)
 
#define SNDRV_MIXER_OSS_PRESENT_GROUTE   (1<<2)
 
#define SNDRV_MIXER_OSS_PRESENT_GVOLUME   (1<<3)
 
#define SNDRV_MIXER_OSS_PRESENT_PSWITCH   (1<<4)
 
#define SNDRV_MIXER_OSS_PRESENT_PROUTE   (1<<5)
 
#define SNDRV_MIXER_OSS_PRESENT_PVOLUME   (1<<6)
 
#define SNDRV_MIXER_OSS_PRESENT_CSWITCH   (1<<7)
 
#define SNDRV_MIXER_OSS_PRESENT_CROUTE   (1<<8)
 
#define SNDRV_MIXER_OSS_PRESENT_CVOLUME   (1<<9)
 
#define SNDRV_MIXER_OSS_PRESENT_CAPTURE   (1<<10)
 
#define ID_UNKNOWN   ((unsigned int)-1)
 
#define snd_mixer_oss_proc_init(mix)
 
#define snd_mixer_oss_proc_done(mix)
 

Functions

 MODULE_AUTHOR ("Jaroslav Kysela <[email protected]>")
 
 MODULE_DESCRIPTION ("Mixer OSS emulation for ALSA.")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_ALIAS_SNDRV_MINOR (SNDRV_MINOR_OSS_MIXER)
 
int snd_mixer_oss_ioctl_card (struct snd_card *card, unsigned int cmd, unsigned long arg)
 

Macro Definition Documentation

#define ID_UNKNOWN   ((unsigned int)-1)

Definition at line 501 of file mixer_oss.c.

#define OSS_ALSAEMULVER   _SIOR ('M', 249, int)

Definition at line 34 of file mixer_oss.c.

#define snd_mixer_oss_ioctl_compat   NULL

Definition at line 402 of file mixer_oss.c.

#define snd_mixer_oss_proc_done (   mix)

Definition at line 1261 of file mixer_oss.c.

#define snd_mixer_oss_proc_init (   mix)

Definition at line 1260 of file mixer_oss.c.

#define SNDRV_MIXER_OSS_ITEM_CAPTURE   10

Definition at line 475 of file mixer_oss.c.

#define SNDRV_MIXER_OSS_ITEM_COUNT   11

Definition at line 477 of file mixer_oss.c.

#define SNDRV_MIXER_OSS_ITEM_CROUTE   8

Definition at line 473 of file mixer_oss.c.

#define SNDRV_MIXER_OSS_ITEM_CSWITCH   7

Definition at line 472 of file mixer_oss.c.

#define SNDRV_MIXER_OSS_ITEM_CVOLUME   9

Definition at line 474 of file mixer_oss.c.

#define SNDRV_MIXER_OSS_ITEM_GLOBAL   0

Definition at line 465 of file mixer_oss.c.

#define SNDRV_MIXER_OSS_ITEM_GROUTE   2

Definition at line 467 of file mixer_oss.c.

#define SNDRV_MIXER_OSS_ITEM_GSWITCH   1

Definition at line 466 of file mixer_oss.c.

#define SNDRV_MIXER_OSS_ITEM_GVOLUME   3

Definition at line 468 of file mixer_oss.c.

#define SNDRV_MIXER_OSS_ITEM_PROUTE   5

Definition at line 470 of file mixer_oss.c.

#define SNDRV_MIXER_OSS_ITEM_PSWITCH   4

Definition at line 469 of file mixer_oss.c.

#define SNDRV_MIXER_OSS_ITEM_PVOLUME   6

Definition at line 471 of file mixer_oss.c.

#define SNDRV_MIXER_OSS_PRESENT_CAPTURE   (1<<10)

Definition at line 489 of file mixer_oss.c.

#define SNDRV_MIXER_OSS_PRESENT_CROUTE   (1<<8)

Definition at line 487 of file mixer_oss.c.

#define SNDRV_MIXER_OSS_PRESENT_CSWITCH   (1<<7)

Definition at line 486 of file mixer_oss.c.

#define SNDRV_MIXER_OSS_PRESENT_CVOLUME   (1<<9)

Definition at line 488 of file mixer_oss.c.

#define SNDRV_MIXER_OSS_PRESENT_GLOBAL   (1<<0)

Definition at line 479 of file mixer_oss.c.

#define SNDRV_MIXER_OSS_PRESENT_GROUTE   (1<<2)

Definition at line 481 of file mixer_oss.c.

#define SNDRV_MIXER_OSS_PRESENT_GSWITCH   (1<<1)

Definition at line 480 of file mixer_oss.c.

#define SNDRV_MIXER_OSS_PRESENT_GVOLUME   (1<<3)

Definition at line 482 of file mixer_oss.c.

#define SNDRV_MIXER_OSS_PRESENT_PROUTE   (1<<5)

Definition at line 484 of file mixer_oss.c.

#define SNDRV_MIXER_OSS_PRESENT_PSWITCH   (1<<4)

Definition at line 483 of file mixer_oss.c.

#define SNDRV_MIXER_OSS_PRESENT_PVOLUME   (1<<6)

Definition at line 485 of file mixer_oss.c.

#define SNDRV_MIXER_OSS_SIGNATURE   0x65999250

Definition at line 463 of file mixer_oss.c.

Function Documentation

MODULE_ALIAS_SNDRV_MINOR ( SNDRV_MINOR_OSS_MIXER  )
MODULE_AUTHOR ( "Jaroslav Kysela <[email protected]>"  )
MODULE_DESCRIPTION ( "Mixer OSS emulation for ALSA."  )
MODULE_LICENSE ( "GPL"  )
int snd_mixer_oss_ioctl_card ( struct snd_card card,
unsigned int  cmd,
unsigned long  arg 
)

Definition at line 384 of file mixer_oss.c.