| 1 | /* $Id: cardinfo.rc 142 2000-04-23 14:55:46Z ktk $ */
|
|---|
| 2 |
|
|---|
| 3 | //******************************************************************************
|
|---|
| 4 | // Installation resource script for SB Live OS/2 MMPM/2 driver
|
|---|
| 5 | //
|
|---|
| 6 | // Copyright 2000 Sander van Leeuwen (sandervl@xs4all.nl)
|
|---|
| 7 | //
|
|---|
| 8 | // This program is free software; you can redistribute it and/or
|
|---|
| 9 | // modify it under the terms of the GNU General Public License as
|
|---|
| 10 | // published by the Free Software Foundation; either version 2 of
|
|---|
| 11 | // the License, or (at your option) any later version.
|
|---|
| 12 | //
|
|---|
| 13 | // This program is distributed in the hope that it will be useful,
|
|---|
| 14 | // but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|---|
| 15 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|---|
| 16 | // GNU General Public License for more details.
|
|---|
| 17 | //
|
|---|
| 18 | // You should have received a copy of the GNU General Public
|
|---|
| 19 | // License along with this program; if not, write to the Free
|
|---|
| 20 | // Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139,
|
|---|
| 21 | // USA.
|
|---|
| 22 | //
|
|---|
| 23 | //******************************************************************************
|
|---|
| 24 | #include <sbvsd.h>
|
|---|
| 25 | #include <sbversion.h>
|
|---|
| 26 |
|
|---|
| 27 | RCDATA 1
|
|---|
| 28 | BEGIN
|
|---|
| 29 | "1" /* Number of adapters in this rc file */
|
|---|
| 30 | END
|
|---|
| 31 |
|
|---|
| 32 | RCDATA 10
|
|---|
| 33 | BEGIN
|
|---|
| 34 | SB_LIVE_ID, /* ID number of this adapter */
|
|---|
| 35 | "" /* Type of adapter - use audiovdd if */
|
|---|
| 36 | /* you use the IBM audiovdd.sys driver */
|
|---|
| 37 | END
|
|---|
| 38 |
|
|---|
| 39 | RCDATA 11
|
|---|
| 40 | BEGIN
|
|---|
| 41 | "1", /* Max number of adapters (2 chars) */
|
|---|
| 42 | "audhelp.HLP", /* Helpfile name (19 chars) */
|
|---|
| 43 | "", /* Adapter specific dll name (19 chars) */
|
|---|
| 44 | "", /* Adapter specific dll entry point (39 chars)*/
|
|---|
| 45 |
|
|---|
| 46 | /**** Data for CONFIG.SYS **/
|
|---|
| 47 | "2", /* Number of CONFIG.SYS lines (1 char) */
|
|---|
| 48 | "DEVICE=*PATH*\\SBLIVE32.SYS",
|
|---|
| 49 | "DEVICE=*PATH*\\SBLIVE16.SYS /V /C", /* enable CD by default */
|
|---|
| 50 |
|
|---|
| 51 | /**** Data for INI File ****/
|
|---|
| 52 | "2", /* Number of Drivers to Install (1 char) */
|
|---|
| 53 | "SoundBlaster Live! Wave Audio", /* Product name (39 chars) */
|
|---|
| 54 | SBLIVE_VERSION, /* Version of the adapter's software (5 chars)*/
|
|---|
| 55 | "SBLIVE", /* PDD Name (6 chars) */
|
|---|
| 56 | "MDM", /* MCD table name (19 chars) */
|
|---|
| 57 | "\0" /* VSD table name (19 chars) */
|
|---|
| 58 | END
|
|---|
| 59 |
|
|---|
| 60 | RCDATA 12
|
|---|
| 61 | BEGIN
|
|---|
| 62 | /**** WAVEAUDIO Driver ****/
|
|---|
| 63 | "SBLIVEWAVE" /* Installname (17 chars) */
|
|---|
| 64 | "7", /* Device type (3 chars) */
|
|---|
| 65 | "1", /* Device flag (3 chars) */
|
|---|
| 66 | "AUDIOMCD", /* MCD driver name (19 chars) */
|
|---|
| 67 | "AUDIOIF", /* VSD driver name (19 chars) */
|
|---|
| 68 | "3", /* Share Type (3 chars) */
|
|---|
| 69 | "SBLiveWave", /* Resource name (17 chars) */
|
|---|
| 70 | "33", /* # of Resource units (2 chars) */
|
|---|
| 71 | "2", /* # of Resource classes (2 chars) */
|
|---|
| 72 | "32","1" /* Resource classes (2 char each) */
|
|---|
| 73 | "2", /* # Valid resource class combos (2 chars) */
|
|---|
| 74 | "1","2", /* Valid resource class combos (2 chars each) */
|
|---|
| 75 | "2","1",
|
|---|
| 76 | "1", /* # of connectors (2 chars) */
|
|---|
| 77 | "3","SBLIVEAMPMIX","1", /* Connectors (2 chars), (17 chars), (2 chars)*/
|
|---|
| 78 | "1", /* # of extensions (2 chars) */
|
|---|
| 79 | "WAV", /* Extension names (3 chars each) */
|
|---|
| 80 | "Digital Audio", /* Extended attribute (255 chars) */
|
|---|
| 81 | "Digital Audio", /* Alias Name (17 chars) */
|
|---|
| 82 | "FORMAT=1,SAMPRATE=22050,BPS=8,CHANNELS=1,DIRECTION=PLAY"
|
|---|
| 83 | /* Device Specific Parameters (255 chars) */
|
|---|
| 84 | END
|
|---|
| 85 |
|
|---|
| 86 | RCDATA 13
|
|---|
| 87 | BEGIN
|
|---|
| 88 | /**** AMPMIXER Driver *****/
|
|---|
| 89 | "SBLIVEAMPMIX" /* Installname (17 chars) */
|
|---|
| 90 | "9", /* Device type (3 chars) */
|
|---|
| 91 | "2", /* Device flag (3 chars) */
|
|---|
| 92 | "AMPMXMCD", /* MCD driver name (19 chars) */
|
|---|
| 93 | "AUDIOIF", /* VSD driver name (19 chars) */
|
|---|
| 94 | "3", /* Share Type (3 chars) */
|
|---|
| 95 | "SBLiveAmpMixer", /* Resource name (17 chars) */
|
|---|
| 96 | "33", /* # of Resource units (2 chars) */
|
|---|
| 97 | "2", /* # of Resource classes (2 chars) */
|
|---|
| 98 | "32","1" /* Resource classes (2 char each) */
|
|---|
| 99 | "2", /* # Valid resource class combos (2 chars) */
|
|---|
| 100 | "1","2", /* Valid resource class combos (2 chars each) */
|
|---|
| 101 | "2","1",
|
|---|
| 102 | "5", /* # of connectors (2 chars) */
|
|---|
| 103 | "4", "\0", "0", /* Connectors (2 chars), (17 chars), (2 chars)*/
|
|---|
| 104 | "9", "\0", "0",
|
|---|
| 105 | "8", "\0", "0",
|
|---|
| 106 | "10","\0", "0",
|
|---|
| 107 | "7", "\0", "0",
|
|---|
| 108 | "0", /* # of extensions (2 chars) */
|
|---|
| 109 | /* no extension names */ /* Extension names (3 chars each) */
|
|---|
| 110 | "\0", /* Extended attribute (255 chars) */
|
|---|
| 111 | "\0", /* Alias Name (17 chars) */
|
|---|
| 112 | "BALANCE=50,VOL=100,INPUT=LINE,GAIN=70,OUTPUT=SPEAKER"
|
|---|
| 113 | /* Device Parms (255 chars) */
|
|---|
| 114 | END
|
|---|
| 115 |
|
|---|
| 116 | RCDATA 19
|
|---|
| 117 | BEGIN
|
|---|
| 118 | // Prompts for the User
|
|---|
| 119 | "0", /* Number of prompts to ask user (2 chars) */
|
|---|
| 120 | /* (max 10 prompts) */
|
|---|
| 121 | END
|
|---|
| 122 |
|
|---|
| 123 |
|
|---|
| 124 |
|
|---|