Linux Kernel
3.7.1
|
#include <linux/types.h>
Go to the source code of this file.
Data Structures | |
struct | SETTINGS |
struct | MACHINE |
struct | TRANS |
struct | sound_settings |
struct | sound_queue |
Macros | |
#define | SND_NDEVS 256 /* Number of supported devices */ |
#define | SND_DEV_CTL 0 /* Control port /dev/mixer */ |
#define | SND_DEV_SEQ |
#define | SND_DEV_MIDIN 2 /* Raw midi access */ |
#define | SND_DEV_DSP 3 /* Digitized voice /dev/dsp */ |
#define | SND_DEV_AUDIO 4 /* Sparc compatible /dev/audio */ |
#define | SND_DEV_DSP16 5 /* Like /dev/dsp but 16 bits/sample */ |
#define | SND_DEV_STATUS 6 /* /dev/sndstat */ |
#define | SND_DEV_SEQ2 8 /* /dev/sequencer, level 2 interface */ |
#define | SND_DEV_SNDPROC 9 /* /dev/sndproc for programmable devices */ |
#define | SND_DEV_PSS SND_DEV_SNDPROC |
#define | DEBUG_DMASOUND 1 |
#define | MAX_AUDIO_DEV 5 |
#define | MAX_MIXER_DEV 4 |
#define | MAX_SYNTH_DEV 3 |
#define | MAX_MIDI_DEV 6 |
#define | MAX_TIMER_DEV 3 |
#define | MAX_CATCH_RADIUS 10 |
#define | le2be16(x) (((x)<<8 & 0xff00) | ((x)>>8 & 0x00ff)) |
#define | le2be16dbl(x) (((x)<<8 & 0xff00ff00) | ((x)>>8 & 0x00ff00ff)) |
#define | IOCTL_IN(arg, ret) |
#define | IOCTL_OUT(arg, ret) ioctl_return((int __user *)(arg), ret) |
#define | MIN_BUFFERS 2 |
#define | MIN_BUFSIZE (1<<8) /* in bytes */ |
#define | MIN_FRAG_SIZE 8 |
#define | MAX_BUFSIZE (1<<18) /* this is somewhat arbitrary for pmac */ |
#define | MAX_FRAG_SIZE 16 /* need to allow *4 for mono-8 => stereo-16 */ |
#define | DEFAULT_N_BUFFERS 4 |
#define | DEFAULT_BUFF_SIZE (1<<15) |
#define | dmasound_deinit() do { } while (0) |
#define | SLEEP(queue) interruptible_sleep_on_timeout(&queue, HZ) |
#define | WAKE_UP(queue) (wake_up_interruptible(&queue)) |
#define | write_sq dmasound_write_sq |
#define | catchRadius dmasound_catchRadius |
#define | BS_VAL 1 |
#define | SW_INPUT_VOLUME_SCALE 4 |
#define | SW_INPUT_VOLUME_DEFAULT (128 / SW_INPUT_VOLUME_SCALE) |
Functions | |
int | dmasound_init (void) |
Variables | |
struct sound_settings | dmasound |
struct sound_queue | dmasound_write_sq |
int | dmasound_catchRadius |
int | expand_read_bal |
uint | software_input_volume |
#define BS_VAL 1 |
Definition at line 253 of file dmasound.h.
#define catchRadius dmasound_catchRadius |
Definition at line 248 of file dmasound.h.
#define DEBUG_DMASOUND 1 |
Definition at line 31 of file dmasound.h.
#define DEFAULT_BUFF_SIZE (1<<15) |
Definition at line 82 of file dmasound.h.
#define DEFAULT_N_BUFFERS 4 |
Definition at line 81 of file dmasound.h.
#define dmasound_deinit | ( | ) | do { } while (0) |
Definition at line 92 of file dmasound.h.
Definition at line 48 of file dmasound.h.
Definition at line 41 of file dmasound.h.
Definition at line 42 of file dmasound.h.
#define MAX_AUDIO_DEV 5 |
Definition at line 33 of file dmasound.h.
Definition at line 77 of file dmasound.h.
#define MAX_CATCH_RADIUS 10 |
Definition at line 39 of file dmasound.h.
#define MAX_FRAG_SIZE 16 /* need to allow *4 for mono-8 => stereo-16 */ |
Definition at line 78 of file dmasound.h.
#define MAX_MIDI_DEV 6 |
Definition at line 36 of file dmasound.h.
#define MAX_MIXER_DEV 4 |
Definition at line 34 of file dmasound.h.
#define MAX_SYNTH_DEV 3 |
Definition at line 35 of file dmasound.h.
#define MAX_TIMER_DEV 3 |
Definition at line 37 of file dmasound.h.
#define MIN_BUFFERS 2 |
Definition at line 74 of file dmasound.h.
Definition at line 75 of file dmasound.h.
#define MIN_FRAG_SIZE 8 |
Definition at line 76 of file dmasound.h.
#define SLEEP | ( | queue | ) | interruptible_sleep_on_timeout(&queue, HZ) |
Definition at line 241 of file dmasound.h.
#define SND_DEV_AUDIO 4 /* Sparc compatible /dev/audio */ |
Definition at line 22 of file dmasound.h.
Definition at line 18 of file dmasound.h.
Definition at line 21 of file dmasound.h.
Definition at line 23 of file dmasound.h.
#define SND_DEV_MIDIN 2 /* Raw midi access */ |
Definition at line 20 of file dmasound.h.
#define SND_DEV_PSS SND_DEV_SNDPROC |
Definition at line 28 of file dmasound.h.
#define SND_DEV_SEQ |
Definition at line 19 of file dmasound.h.
Definition at line 26 of file dmasound.h.
Definition at line 27 of file dmasound.h.
#define SND_DEV_STATUS 6 /* /dev/sndstat */ |
Definition at line 24 of file dmasound.h.
#define SND_NDEVS 256 /* Number of supported devices */ |
Definition at line 17 of file dmasound.h.
#define SW_INPUT_VOLUME_DEFAULT (128 / SW_INPUT_VOLUME_SCALE) |
Definition at line 256 of file dmasound.h.
#define SW_INPUT_VOLUME_SCALE 4 |
Definition at line 255 of file dmasound.h.
#define WAKE_UP | ( | queue | ) | (wake_up_interruptible(&queue)) |
Definition at line 242 of file dmasound.h.
#define write_sq dmasound_write_sq |
Definition at line 245 of file dmasound.h.
Definition at line 1387 of file dmasound_core.c.
struct sound_settings dmasound |
Definition at line 223 of file dmasound_core.c.
int dmasound_catchRadius |
Definition at line 198 of file dmasound_core.c.
struct sound_queue dmasound_write_sq |
Definition at line 411 of file dmasound_core.c.
int expand_read_bal |
uint software_input_volume |