OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [uclinux/] [uClinux-2.0.x/] [arch/] [m68k/] [atari/] [atasound.h] - Blame information for rev 199

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 199 simons
/*
2
 * Minor numbers for the sound driver.
3
 *
4
 * Unfortunately Creative called the codec chip of SB as a DSP. For this
5
 * reason the /dev/dsp is reserved for digitized audio use. There is a
6
 * device for true DSP processors but it will be called something else.
7
 * In v3.0 it's /dev/sndproc but this could be a temporary solution.
8
 */
9
 
10
#define SND_NDEVS       256     /* Number of supported devices */
11
#define SND_DEV_CTL     0        /* Control port /dev/mixer */
12
#define SND_DEV_SEQ     1       /* Sequencer output /dev/sequencer (FM
13
                                   synthesizer and MIDI output) */
14
#define SND_DEV_MIDIN   2       /* Raw midi access */
15
#define SND_DEV_DSP     3       /* Digitized voice /dev/dsp */
16
#define SND_DEV_AUDIO   4       /* Sparc compatible /dev/audio */
17
#define SND_DEV_DSP16   5       /* Like /dev/dsp but 16 bits/sample */
18
#define SND_DEV_STATUS  6       /* /dev/sndstat */
19
/* #7 not in use now. Was in 2.4. Free for use after v3.0. */
20
#define SND_DEV_SEQ2    8       /* /dev/sequencer, level 2 interface */
21
#define SND_DEV_SNDPROC 9       /* /dev/sndproc for programmable devices */
22
#define SND_DEV_PSS     SND_DEV_SNDPROC
23
 
24
#define DSP_DEFAULT_SPEED       8000
25
 
26
#define ON              1
27
#define OFF             0
28
 
29
#define MAX_AUDIO_DEV   5
30
#define MAX_MIXER_DEV   2
31
#define MAX_SYNTH_DEV   3
32
#define MAX_MIDI_DEV    6
33
#define MAX_TIMER_DEV   3

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.