~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/include/linux/sound.h

Version: ~ [ linux-6.3-rc3 ] ~ [ linux-6.2.7 ] ~ [ linux-6.1.20 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.103 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.175 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.237 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.278 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.310 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.8.17 ] ~ [ linux-4.7.10 ] ~ [ linux-4.6.7 ] ~ [ linux-4.5.7 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 
  2 /*
  3  * Minor numbers for the sound driver.
  4  */
  5 
  6 #define SND_DEV_CTL             0       /* Control port /dev/mixer */
  7 #define SND_DEV_SEQ             1       /* Sequencer output /dev/sequencer (FM
  8                                                 synthesizer and MIDI output) */
  9 #define SND_DEV_MIDIN           2       /* Raw midi access */
 10 #define SND_DEV_DSP             3       /* Digitized voice /dev/dsp */
 11 #define SND_DEV_AUDIO           4       /* Sparc compatible /dev/audio */
 12 #define SND_DEV_DSP16           5       /* Like /dev/dsp but 16 bits/sample */
 13 /* #define SND_DEV_STATUS       6 */    /* /dev/sndstat (obsolete) */
 14 #define SND_DEV_UNUSED          6
 15 #define SND_DEV_AWFM            7       /* Reserved */
 16 #define SND_DEV_SEQ2            8       /* /dev/sequencer, level 2 interface */
 17 /* #define SND_DEV_SNDPROC      9 */    /* /dev/sndproc for programmable devices (not used) */
 18 /* #define SND_DEV_DMMIDI       9 */
 19 #define SND_DEV_SYNTH           9       /* Raw synth access /dev/synth (same as /dev/dmfm) */
 20 #define SND_DEV_DMFM            10      /* Raw synth access /dev/dmfm */
 21 #define SND_DEV_UNKNOWN11       11
 22 #define SND_DEV_ADSP            12      /* Like /dev/dsp (obsolete) */
 23 #define SND_DEV_AMIDI           13      /* Like /dev/midi (obsolete) */
 24 #define SND_DEV_ADMMIDI         14      /* Like /dev/dmmidi (onsolete) */
 25 
 26 /*
 27  *      Sound core interface functions
 28  */
 29  
 30 extern int register_sound_special(struct file_operations *fops, int unit);
 31 extern int register_sound_mixer(struct file_operations *fops, int dev);
 32 extern int register_sound_midi(struct file_operations *fops, int dev);
 33 extern int register_sound_dsp(struct file_operations *fops, int dev);
 34 extern int register_sound_synth(struct file_operations *fops, int dev);
 35 
 36 extern void unregister_sound_special(int unit);
 37 extern void unregister_sound_mixer(int unit);
 38 extern void unregister_sound_midi(int unit);
 39 extern void unregister_sound_dsp(int unit);
 40 extern void unregister_sound_synth(int unit);
 41 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | Wiki (Japanese) | Wiki (English) | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

osdn.jp