Linux Kernel
3.7.1
|
#include <linux/time.h>
#include <linux/wait.h>
#include <linux/slab.h>
#include <linux/sched.h>
#include <sound/core.h>
#include <sound/seq_oss.h>
#include <sound/rawmidi.h>
#include <sound/seq_kernel.h>
#include <sound/info.h>
Go to the source code of this file.
Data Structures | |
struct | seq_oss_chinfo |
struct | seq_oss_synthinfo |
struct | seq_oss_devinfo |
Macros | |
#define | SNDRV_SEQ_OSS_DEBUG |
#define | SNDRV_SEQ_OSS_MAX_CLIENTS 16 |
#define | SNDRV_SEQ_OSS_MAX_SYNTH_DEVS 16 |
#define | SNDRV_SEQ_OSS_MAX_MIDI_DEVS 32 |
#define | SNDRV_SEQ_OSS_MAJOR_VERSION 0 |
#define | SNDRV_SEQ_OSS_MINOR_VERSION 1 |
#define | SNDRV_SEQ_OSS_TINY_VERSION 8 |
#define | SNDRV_SEQ_OSS_VERSION_STR "0.1.8" |
#define | SNDRV_SEQ_OSS_DEVNAME "seq_oss" |
#define | SNDRV_SEQ_OSS_PROCNAME "oss" |
#define | is_read_mode(mode) ((mode) & SNDRV_SEQ_OSS_FILE_READ) |
#define | is_write_mode(mode) ((mode) & SNDRV_SEQ_OSS_FILE_WRITE) |
#define | is_nonblock_mode(mode) ((mode) & SNDRV_SEQ_OSS_FILE_NONBLOCK) |
#define | debug_printk(x) do { if (seq_oss_debug > 0) snd_printd x; } while (0) |
Typedefs | |
typedef unsigned int | reltime_t |
typedef unsigned int | abstime_t |
Variables | |
int | seq_oss_debug |
#define debug_printk | ( | x | ) | do { if (seq_oss_debug > 0) snd_printd x; } while (0) |
Definition at line 184 of file seq_oss_device.h.
#define is_nonblock_mode | ( | mode | ) | ((mode) & SNDRV_SEQ_OSS_FILE_NONBLOCK) |
Definition at line 149 of file seq_oss_device.h.
#define is_read_mode | ( | mode | ) | ((mode) & SNDRV_SEQ_OSS_FILE_READ) |
Definition at line 147 of file seq_oss_device.h.
#define is_write_mode | ( | mode | ) | ((mode) & SNDRV_SEQ_OSS_FILE_WRITE) |
Definition at line 148 of file seq_oss_device.h.
#define SNDRV_SEQ_OSS_DEBUG |
Definition at line 35 of file seq_oss_device.h.
#define SNDRV_SEQ_OSS_DEVNAME "seq_oss" |
Definition at line 49 of file seq_oss_device.h.
#define SNDRV_SEQ_OSS_MAJOR_VERSION 0 |
Definition at line 43 of file seq_oss_device.h.
#define SNDRV_SEQ_OSS_MAX_CLIENTS 16 |
Definition at line 38 of file seq_oss_device.h.
#define SNDRV_SEQ_OSS_MAX_MIDI_DEVS 32 |
Definition at line 40 of file seq_oss_device.h.
#define SNDRV_SEQ_OSS_MAX_SYNTH_DEVS 16 |
Definition at line 39 of file seq_oss_device.h.
#define SNDRV_SEQ_OSS_MINOR_VERSION 1 |
Definition at line 44 of file seq_oss_device.h.
#define SNDRV_SEQ_OSS_PROCNAME "oss" |
Definition at line 50 of file seq_oss_device.h.
#define SNDRV_SEQ_OSS_TINY_VERSION 8 |
Definition at line 45 of file seq_oss_device.h.
#define SNDRV_SEQ_OSS_VERSION_STR "0.1.8" |
Definition at line 46 of file seq_oss_device.h.
Definition at line 58 of file seq_oss_device.h.
Definition at line 57 of file seq_oss_device.h.
Definition at line 67 of file seq_oss_init.c.
Definition at line 161 of file seq_oss_init.c.
void snd_seq_oss_drain_write | ( | struct seq_oss_devinfo * | dp | ) |
Definition at line 453 of file seq_oss_init.c.
int snd_seq_oss_ioctl | ( | struct seq_oss_devinfo * | dp, |
unsigned int | cmd, | ||
unsigned long | arg | ||
) |
Definition at line 74 of file seq_oss_ioctl.c.
void snd_seq_oss_midi_info_read | ( | struct snd_info_buffer * | buf | ) |
Definition at line 176 of file seq_oss_init.c.
unsigned int snd_seq_oss_poll | ( | struct seq_oss_devinfo * | dp, |
struct file * | file, | ||
poll_table * | wait | ||
) |
Definition at line 200 of file seq_oss_rw.c.
void snd_seq_oss_process_queue | ( | struct seq_oss_devinfo * | dp, |
abstime_t | time | ||
) |
Definition at line 44 of file seq_oss_rw.c.
void snd_seq_oss_readq_info_read | ( | struct seq_oss_readq * | q, |
struct snd_info_buffer * | buf | ||
) |
void snd_seq_oss_release | ( | struct seq_oss_devinfo * | dp | ) |
Definition at line 424 of file seq_oss_init.c.
void snd_seq_oss_reset | ( | struct seq_oss_devinfo * | dp | ) |
Definition at line 470 of file seq_oss_init.c.
void snd_seq_oss_synth_info_read | ( | struct snd_info_buffer * | buf | ) |
void snd_seq_oss_system_info_read | ( | struct snd_info_buffer * | buf | ) |
int snd_seq_oss_write | ( | struct seq_oss_devinfo * | dp, |
const char __user * | buf, | ||
int | count, | ||
struct file * | opt | ||
) |
Definition at line 96 of file seq_oss_rw.c.