Annotation of ntddk/src/mmedia/inc/synth.h, revision 1.1.1.1

1.1       root        1: /*++ BUILD Version: 0001    // Increment this if a change has global effects
                      2: 
                      3: 
                      4: Copyright (c) 1992  Microsoft Corporation
                      5: 
                      6: Module Name:
                      7: 
                      8:     synth.h
                      9: 
                     10: Abstract:
                     11: 
                     12:     This include file defines constants and types for
                     13:     the Microsoft midi synthesizer driver
                     14: 
                     15:     This header file is shared between the low level driver and the
                     16:     kernel mode driver.
                     17: 
                     18: Author:
                     19: 
                     20:     Robin Speed (RobinSp) 20-Oct-92
                     21: 
                     22: Revision History:
                     23: 
                     24: --*/
                     25: 
                     26: #define STR_DRIVERNAME L"synth"
                     27: #define STR_MV_DRIVERNAME L"mvopl3"
                     28: #define STR_OPL3_DEVICENAME L"\\Device\\opl3.mid"
                     29: #define STR_ADLIB_DEVICENAME L"\\Device\\adlib.mid"
                     30: 
                     31: /*
                     32:  *  Stucture for passing synth data
                     33:  *  Why on earth isn't there a type for sharing short data?
                     34:  */
                     35: 
                     36:  typedef struct {
                     37:      unsigned short IoPort;
                     38:      unsigned short PortData;
                     39:  } SYNTH_DATA, *PSYNTH_DATA;
                     40: 
                     41: /* positions within FM */
                     42: #define AD_LSI                          (0x000)
                     43: #define AD_LSI2                         (0x101)
                     44: #define AD_TIMER1                       (0x001)
                     45: #define AD_TIMER2                       (0x002)
                     46: #define AD_MASK                         (0x004)
                     47: #define AD_CONNECTION                   (0x104)
                     48: #define AD_NEW                          (0x105)
                     49: #define AD_NTS                          (0x008)
                     50: #define AD_MULT                         (0x020)
                     51: #define AD_MULT2                        (0x120)
                     52: #define AD_LEVEL                        (0x040)
                     53: #define AD_LEVEL2                       (0x140)
                     54: #define AD_AD                           (0x060)
                     55: #define AD_AD2                          (0x160)
                     56: #define AD_SR                           (0x080)
                     57: #define AD_SR2                          (0x180)
                     58: #define AD_FNUMBER                      (0x0a0)
                     59: #define AD_FNUMBER2                     (0x1a0)
                     60: #define AD_BLOCK                        (0x0b0)
                     61: #define AD_BLOCK2                       (0x1b0)
                     62: #define AD_DRUM                         (0x0bd)
                     63: #define AD_FEEDBACK                     (0x0c0)
                     64: #define AD_FEEDBACK2                    (0x1c0)
                     65: #define AD_WAVE                         (0x0e0)
                     66: #define AD_WAVE2                        (0x1e0)
                     67: 

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.