home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 4 Drivers / 04-Drivers.zip / cwos2303.zip / cwcmmpm.ini < prev    next >
INI File  |  1998-11-12  |  9KB  |  207 lines

  1. ; CWCMMPM.INI 
  2. ; Crystal Semiconductor - PCI audio driver configuration file.
  3.  
  4. [\Config\Mixer]
  5. ; For details on mixer hardware architecture, consult Cirrus Logic 
  6. ; databook for the CS4297 SoundFusion(tm) Audio Codec '97.
  7. ; This document is available in Adobe Acrobat format:
  8. ; http://www.cirrus.com/ftp/pubs/4297.pdf
  9.  
  10. ; OS/2 (MMPM/2) supports recording from two sources:
  11. ;    1) "Microphone"
  12. ;    2) "Line"
  13. ;
  14. ; Settings below map the logical concept of "Microphone" and "Line" to 
  15. ; the particular physical connection on the audio chip.
  16.  
  17. MicSelect=1             ; 1=Microphone #1 (Default)
  18.                         ; 2=Microphone #2
  19.  
  20. LineMap=1               ; 1=CD (default)
  21.                         ; 2=Video
  22.                         ; 3=Aux
  23.                         ; 4=Line
  24.                         ; 5=Reserved
  25.                         ; 6=Reserved
  26.                         ; 7=Phone
  27.  
  28. ; Output mutes:
  29. ; These values can be set to force a given output path
  30. ; to be muted, always.
  31. ; Note: AltOut is normally connected to headphone jack.
  32.  
  33. AltOutMute=0            ; 0=Audible(Default), 1=Mute
  34. MonoOutMute=0           ; 0=Audible(Default), 1=Mute
  35.  
  36.  
  37. ; Set default volumes for 3 mixer "master" volumes.
  38. ; These settings are usually overridden by MMPM/2 master volume application.
  39. MasterVolume  = 50     ; Master volume default    (0..100, default 50)
  40. AltVolume     = 50     ; Headphone volume default
  41. MonoOutVolume = 50     ; Mono out volume default
  42.  
  43. ; Set default volume for various mixer inputs.
  44. ; These settings effect what you "hear", not what you record.
  45. ;
  46. ; For example, adjusting "CDVolume" will change the listening volume 
  47. ; of the CD-ROM playback signal.  
  48. ; It will not effect the loudness of the signal recorded when an 
  49. ; application records from CD.  
  50. ; To effect recording level, use "ADCGain" and "ADCGainSkew"
  51.  
  52. MonoInVolume  = 50      ; Range 0..100
  53. PhoneVolume   = 50
  54. MicVolume     = 0       ; Default mic muted.  Change to 50 to enable karoke.
  55.                         ; Note: This setting does not effect Mic record.
  56.                         ; Setting this value too high will produce a
  57.                         ; feedback loop.
  58. LineVolume    = 75      ; Range 0..100
  59. CDVolume      = 75
  60. VideoVolume   = 50
  61. AuxVolume     = 50
  62.  
  63. ; Default record settings.
  64. ; These settings are normally overwritten by MMPM/2 APIs.
  65. ADCGain       = 50      ; Default record gain
  66. MuxSelect     = 1       ; Default record source (Use values from LineMap)
  67. MicBoost      = 0       ; Default setting for +20dB microphone boost
  68.  
  69. ; Microphone volume during monitor is managed separately from non-monitor.
  70. ; The microphone input is normally muted, but needs to be un-muted
  71. ; during monitor.  For this reason, there are separate entries for 
  72. ; microphone volume during idle time ("karoke", normally muted) and 
  73. ; microphone volume at record preparation time ("monitor", normally audible).
  74. ; This loudness of the the microphone during "monitor" does not effect 
  75. ; the loudness of recorded signal.  It effects only the loudness of "monitor".
  76. ; To effect recorded microphone signal level, use "gain" setting from
  77. ; application.  After exhausing application options (including gain and boost), 
  78. ; the ADCGainSkew setting in this file can be used to effect a global change 
  79. ; to recored volume.
  80.  
  81. MicVolumeMon  = 50      ; Mic volume during monitor.  Range 0..100, default 50.
  82.  
  83.  
  84. ;----------------------------------------------------------------------
  85. ; LOGICAL to PHYSICAL VOLUME TABLES
  86. ; Master volume tables (64 entries in each table).
  87. ;
  88. ; Each entry is a BYTE:
  89. ;    D7  D6  D5  D4  D3  D2  D1  D0
  90. ;     0   0 MR5 MR4 MR3 MR2 MR1 MR0
  91. ;   
  92. ; MR5..MR0 range 0..63 (decimal) which corresponds to 
  93. ; audio range of 0dB thru -94.5dB in -1.5dB steps.
  94. ;    0x3F => Most quiet (-94.5dB)
  95. ;    0x00 => Most loud  (0dB)
  96. ;
  97. ; Note: While titled as volume tables, the tables are more accurately
  98. ; described as attenuation tables as signals can only be made quieter.
  99.  
  100. MasterVolumeTable    =63,58,54,51,48,45,42,39,36,34,32,30,28,26,24,22,20,19,18,17,17,16,16,15,15,14,14,13,13,12,12,11,11,10,10,9,9,8,8,8,7,7,7,6,6,6,5,5,5,4,4,4,3,3,3,2,2,2,1,1,1,0,0,0
  101. HeadphoneVolumeTable =63,58,54,51,48,45,42,39,36,34,32,30,28,26,24,22,20,19,18,17,17,16,16,15,15,14,14,13,13,12,12,11,11,10,10,9,9,8,8,8,7,7,7,6,6,6,5,5,5,4,4,4,3,3,3,2,2,2,1,1,1,0,0,0
  102. MonoOutVolumeTable   =63,58,54,51,48,45,42,39,36,34,32,30,28,26,24,22,20,19,18,17,17,16,16,15,15,14,14,13,13,12,12,11,11,10,10,9,9,8,8,8,7,7,7,6,6,6,5,5,5,4,4,4,3,3,3,2,2,2,1,1,1,0,0,0
  103.  
  104. ;----------------------------------------------------------------------
  105. ; Analog input tables (32 entries in each table).
  106. ;
  107. ; Each entry is a BYTE:
  108. ;    D7  D6  D5  D4  D3  D2  D1  D0
  109. ;     0   0   0 GN4 GN3 GN2 GN1 GN0
  110. ;   
  111. ; GN4..GN0 range 0..31 (decimal) which corresponds to 
  112. ; audio range of +12dB thru -34.5dB in -1.5dB steps.
  113. ;    0x1F => Most quiet (-34.5dB)
  114. ;    0x08 => 0dB
  115. ;    0x00 => Most loud  (+12dB)
  116. ;
  117. ; These registers can be used to provide both attenuation and gain 
  118. ; depending on the values selected.
  119. ;
  120. ; Note: The least significant bit of the mono-input table is undefined
  121. ; in the hardware and is masked off in the device driver.
  122.  
  123. MonoInVolumeTable =31,30,29,28,27,26,25,24,23,22,21,20,19,18,17,16,15,14,13,12,11,10,9,8
  124. PhoneVolumeTable  =31,30,29,28,27,26,25,24,23,22,21,20,19,18,17,16,15,14,13,12,11,10,9,8
  125. MicVolumeTable    =31,30,29,28,27,26,25,24,23,22,21,20,19,18,17,16,15,14,13,12,11,10,9,8
  126. LineVolumeTable   =31,30,29,28,27,26,25,24,23,22,21,20,19,18,17,16,15,14,13,12,11,10,9,8
  127. CDVolumeTable     =31,30,29,28,27,26,25,24,23,22,21,20,19,18,17,16,15,14,13,12,11,10,9,8
  128. VideoVolumeTable  =31,30,29,28,27,26,25,24,23,22,21,20,19,18,17,16,15,14,13,12,11,10,9,8
  129. AuxVolumeTable    =31,30,29,28,27,26,25,24,23,22,21,20,19,18,17,16,15,14,13,12,11,10,9,8
  130.  
  131. ; NOTE: PCMVolume input to AC97 mixer is fixed at 0dB (output=input).
  132. ; To adjust wave audio volume relative to other signals, see WaveSkewPercent.
  133.  
  134. ;----------------------------------------------------------------------
  135. ; Record gain table (16 entries)
  136. ; Each entry is a BYTE:
  137. ;    D7  D6  D5  D4  D3  D2  D1  D0
  138. ;     0   0   0   0 GN3 GN2 GN1 GN0
  139. ;   
  140. ; GN3..GN0 range 0..15 (decimal) which corresponds to 
  141. ; audio range of 0dB thru +22.5dB in +1.5dB steps.
  142. ;    0x00 => Most quiet  (0dB)
  143. ;    0x0F => Most loud   (+22.5dB)
  144.  
  145. RecordGainTable   =0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15 
  146.  
  147.  
  148. ;----------------------------------------------------------------------
  149. ; Skew variables
  150. ; As an alternative to adjusting all of the entries in the 
  151. ; logical to physical volume tables, a table wide adjustment can be 
  152. ; made via the following "Skew" variables.
  153. ; The device driver implements volume control by:
  154. ; 1) Receive volume or gain setting from operating system, convert to percent.
  155. ; 2) Convert percent value to equivalent index into logical to physical table.
  156. ; 3) Read value from table
  157. ; 4) Add Skew value (given here)
  158. ; 5) Bounds check
  159. ; 4) Write number to AC97 mixer 
  160. ;
  161. ;
  162. ; Example use (Recording from CD and recorded signal is too quiet).
  163. ;
  164. ; To make the CD recording louder (to make any recording louder), set
  165. ; the ADCGainSkew variable to a positive value (integer variable).  
  166. ; To make the CD recording quieter, set the ADCGainSkew variable to a 
  167. ; negative number.
  168. ; The Skew variables have an effect on the hardware that is specific
  169. ; to the register being controlled.
  170. ; See logical to physical volume tables (in this file) for definition
  171. ; of the hardware settings for each mixer component.
  172. ;
  173. ; MOST of the analog input registers have the same definition.
  174. ; For example, setting ADCGainSkew to "1" will effect a +1.5 dB change 
  175. ; on the signal sent to the Analog to Digital converter (record signal).
  176. ; Skew values can be positive or negative, making the signal louder or quieter.
  177. ;
  178. ; The "Skew" variables should only be changed to non-zero values when
  179. ; all other options have been exhausted.  That is, the application gain
  180. ; and volume settings should be set, checked and checked again, before 
  181. ; making a change here in this file.  
  182. ; The Skew settings in this file are global to all applications.
  183.  
  184. MasterVolSkew   = 0     ; Master volume adjustment (default: 0, no adjustment)
  185. AltVolSkew      = 0     ; Headphone volume adjustment
  186. MonoOutSkew     = 0     ; Mono out adjustment
  187.  
  188. MonoInSkew      = 0
  189. PhoneSkew       = 0
  190. MicSkew         = 0
  191. LineSkew        = 0
  192. CDSkew          = 0     ; NOTE: CD listening level should be set with "CDVolume"
  193. VideoSkew       = 0
  194. AuxSkew         = 0
  195. ADCGainSkew     = 2     ; Adjustment to RECORD signal level
  196.  
  197. ; Wave playback volume is controlled inside the DSP (not at the AC97 mixer).
  198. ; Adjust wave volume (as a skew), by providing a range 0..200% multiplier
  199. ; for the wave audio playback volume.
  200.  
  201. WaveSkewPercent = 66    ; 100 means no adjustment.  66 means 34% quieter.
  202.