os/boardsupport/haitest/bspsvs/suite/bsp/sound/testdata/h4hrp/armv5/t_sound.ini
author sl@SLION-WIN7.fritz.box
Fri, 15 Jun 2012 03:10:57 +0200
changeset 0 bde4ae8d615e
permissions -rw-r--r--
First public contribution.
     1 # This is the global environment file to configure the sound  on specific device
     2 # The current default sound values are configured for TI OMAP 2420 (H4) hardware common sound device
     3 # Licencees may need to configure below values to specific devices
     4 
     5 
     6 [Drives]
     7 # Defines the path to the testdata files on ROM.
     8 # Do not use drive letter here (for TestDriver compatibility)
     9 ROMDriveTestPath = \base\sound\validation\
    10 
    11 # A RAM drive in the environment. 
    12 # Defines the character of the drive, the default value is 'C'.
    13 RAMDriveChar = C
    14 
    15 # Defines the drive's index.
    16 RAMDrive = EDrive{Drives, RAMDriveChar}
    17 
    18 # Defines the path to the testdata files on RAM
    19 RAMDriveTestPath = {Drives, RAMDriveChar}:\base\sound\validation\
    20 
    21 
    22 # driver version
    23 [driver]
    24 version			=1.00(1976)
    25 
    26 # pdd/ldd driver names and unit to test. By default unit -1 (0xffffffff in HEX)
    27 [UnitEnum]
    28 unit					=0xffffffff
    29 pdd						=ESDRV
    30 ldd						=ESOUND
    31 
    32 [default_play_format]
    33 # Playback format used in system by default
    34 # Values used to restore default play format after format change
    35 rate					=8000
    36 encoding				=EMdaSoundEncoding16BitPCM
    37 channels				=2
    38 buffer_size				=32768
    39 # Values are used to verify default playback format
    40 rate_expected				=8000
    41 encoding_expected			=EMdaSoundEncoding16BitPCM
    42 channels_expected			=2
    43 buffer_size_expected			=32768
    44 
    45 [valid_play_format]
    46 # Supported playback format used in system (non-default)
    47 # Values are used to set playback format
    48 rate					=8000
    49 encoding				=EMdaSoundEncoding16BitPCM
    50 channels				=2
    51 buffer_size				=2000
    52 # Values are used to verify current playback format
    53 rate_expected				=8000
    54 encoding_expected			=EMdaSoundEncoding16BitPCM
    55 channels_expected			=2
    56 buffer_size_expected			=2000
    57 
    58 [another_valid_play_format]
    59 # Another supported playback format used in system (non-default)
    60 # Values are used to set playback format
    61 rate					=44100
    62 encoding				=EMdaSoundEncoding16BitPCM
    63 channels				=2
    64 buffer_size				=2000
    65 # Values are used to verify current playback format
    66 rate_expected				=44100
    67 encoding_expected			=EMdaSoundEncoding16BitPCM
    68 channels_expected			=2
    69 buffer_size_expected			=2000
    70 
    71 [default_record_format]
    72 # Record format used in system by default
    73 # Values used to restore default record format after format change
    74 rate					=8000
    75 encoding				=EMdaSoundEncoding16BitPCM
    76 channels				=2
    77 buffer_size				=8192
    78 # Values are used to verify default record format
    79 rate_expected				=8000
    80 encoding_expected			=EMdaSoundEncoding16BitPCM
    81 channels_expected			=2
    82 buffer_size_expected			=8192
    83 
    84 [valid_record_format]
    85 # Another supported record format used in system
    86 # Values are used to set record format
    87 rate					=8000
    88 encoding				=EMdaSoundEncoding16BitPCM
    89 channels				=2
    90 buffer_size				=2000
    91 # Values are used to verify current record format
    92 rate_expected				=8000
    93 encoding_expected			=EMdaSoundEncoding16BitPCM
    94 channels_expected			=2
    95 buffer_size_expected			=2000
    96 
    97 [default_play_volume]
    98 # Value to restore default play volume level
    99 volume					=127
   100 # Value to verify default play volume level
   101 volume_expected				=127
   102 
   103 [max_play_volume]
   104 # Value to set max supported play volume level
   105 volume					=127
   106 # Value to verify max supported play volume level
   107 volume_expected				=127
   108 
   109 [min_play_volume]
   110 # Value to set min supported play volume level
   111 volume					=0
   112 # Value to verify min supported play volume level
   113 volume_expected				=0
   114 
   115 [play_volume_quater]
   116 # Value to set 1/2 of max supported play volume level
   117 volume					=32
   118 # Value to verify 1/2 of max supported play volume level
   119 volume_expected				=32
   120 
   121 [default_record_level]
   122 # Value to restore default record volume level
   123 sound_level				=119
   124 # Value to verify default record volume level
   125 sound_level_expected			=119
   126 
   127 [max_record_level]
   128 # Value to set max supported record volume level
   129 sound_level				=119
   130 # Value to verify max supported record volume level
   131 sound_level_expected			=119
   132 
   133 [min_record_level]
   134 # Value to set min supported record volume level
   135 sound_level				=0
   136 # Value to verify min supported record volume level
   137 sound_level_expected			=0
   138 
   139 [half_record_level]
   140 # Value to set 1/2 of max supported record volume level
   141 sound_level				=40
   142 # Value to verify 1/2 of max supported record volume level
   143 sound_level_expected			=40
   144 
   145 [unsupported_play_format]
   146 # Playback format not supported by device - bitrate out of range, channels number out of range
   147 rate					=80008
   148 encoding				=EMdaSoundEncoding8BitPCM
   149 channels				=3
   150 buffer_size				=2000
   151 
   152 [unsupported_record_format]
   153 # Record format not supported by device - bitrate out of range, channels number out of range
   154 rate					=80008
   155 encoding				=EMdaSoundEncoding8BitPCM
   156 channels				=3
   157 buffer_size				=2000
   158 
   159 [default_play_format_invalid_encoding]
   160 encoding				=EMdaSoundEncoding40BitPCM
   161 
   162 [default_play_format_invalid_rate]
   163 rate					=80008
   164 
   165 [default_play_format_invalid_buffer_size]
   166 buffer_size				=23
   167 
   168 [default_play_format_invalid_channels]
   169 channels				=754534
   170 
   171 [default_record_format_invalid_encoding]
   172 encoding				=EMdaSoundEncoding40BitPCM
   173 
   174 [default_record_format_invalid_rate]
   175 rate					=80008
   176 
   177 [default_record_format_invalid_buffer_size]
   178 buffer_size				=23
   179 
   180 [default_record_format_invalid_channels]
   181 channels				=754534
   182 
   183 [default_file]
   184 data_size				=32720
   185 from_file				={Drives, ROMDriveTestPath}pcm16_stereo_8khz_32kb.raw
   186 cancel					=FALSE
   187 flush					=FALSE
   188 
   189 [default_file_cancel]
   190 data_size				=32720
   191 from_file				={Drives, ROMDriveTestPath}pcm16_stereo_8khz_32kb.raw
   192 flush					=FALSE
   193 cancel					=TRUE
   194 
   195 [default_file_flush]
   196 data_size				=32720
   197 from_file				={Drives, ROMDriveTestPath}pcm16_stereo_8khz_32kb.raw
   198 flush					=TRUE
   199 cancel					=FALSE
   200 
   201 [valid_file]
   202 data_size				=32720
   203 from_file				={Drives, ROMDriveTestPath}pcm16_stereo_8khz_32kb.raw
   204 
   205 [not_supported_conf_audio_file]
   206 data_size				=32768
   207 from_file				={Drives, ROMDriveTestPath}pcm8_stereo_8khz_32kb.raw
   208 
   209 [play_formats_supported]
   210 # Values to verify supported playback formats
   211 min_rate_expected			=8000
   212 max_rate_expected			=48000
   213 channels_expected			=2
   214 min_buffer_size_expected		=1024
   215 max_buffer_size_expected		=32768
   216 min_volume_expected			=0
   217 max_volume_expected			=127
   218 encodings_expected			=EMdaSoundEncoding16BitPCM
   219 
   220 [record_formats_supported]
   221 # Values to verify supported record formats
   222 min_rate_expected			=8000
   223 max_rate_expected			=48000
   224 channels_expected			=2
   225 min_buffer_size_expected		=1024
   226 max_buffer_size_expected		=8192
   227 min_volume_expected			=0
   228 max_volume_expected			=119
   229 encodings_expected			=EMdaSoundEncoding16BitPCM
   230 
   231 #different buffer sizes for playback
   232 [set_settings_pcm8_mono_8khz_32kb_min_buffer]
   233 rate					=8000
   234 encoding				=EMdaSoundEncoding8BitPCM
   235 channels				=2
   236 buffer_size				=1024
   237 
   238 [set_settings_pcm8_mono_8khz_32kb_max_buffer]
   239 rate					=8000
   240 encoding				=EMdaSoundEncoding8BitPCM
   241 channels				=2
   242 buffer_size				=32768
   243 
   244 [set_settings_pcm16_mono_8khz_32kb_min_buffer]
   245 rate					=8000
   246 encoding				=EMdaSoundEncoding16BitPCM
   247 channels				=2
   248 buffer_size				=1024
   249 
   250 [set_settings_pcm16_mono_8khz_32kb_max_buffer]
   251 rate					=8000
   252 encoding				=EMdaSoundEncoding16BitPCM
   253 channels				=2
   254 buffer_size				=32768
   255 
   256 [set_settings_alaw8bit_mono_8khz_min_buffer]
   257 rate					=8000
   258 encoding				=EMdaSoundEncoding8BitALaw
   259 channels				=2
   260 buffer_size				=1024
   261 
   262 [set_settings_alaw8bit_mono_8khz_max_buffer]
   263 rate					=8000
   264 encoding				=EMdaSoundEncoding8BitALaw
   265 channels				=2
   266 buffer_size				=32768
   267 
   268 [set_settings_mulaw8bit_mono_12khz_min_buffer]
   269 rate					=12000
   270 encoding				=EMdaSoundEncoding8BitMuLaw
   271 channels				=2
   272 buffer_size				=1024
   273 
   274 [set_settings_mulaw8bit_mono_12khz_max_buffer]
   275 rate					=12000
   276 encoding				=EMdaSoundEncoding8BitMuLaw
   277 channels				=2
   278 buffer_size				=32768
   279 
   280 #different buffer sizes for recording
   281 [set_settings_pcm8_mono_8khz_32kb_min_buffer_recording]
   282 rate					=8000
   283 encoding				=EMdaSoundEncoding8BitPCM
   284 channels				=2
   285 buffer_size				=1024
   286 
   287 [set_settings_pcm8_mono_8khz_32kb_max_buffer_recording]
   288 rate					=8000
   289 encoding				=EMdaSoundEncoding8BitPCM
   290 channels				=2
   291 buffer_size				=8192
   292 
   293 [set_settings_pcm16_mono_8khz_32kb_min_buffer_recording]
   294 rate					=8000
   295 encoding				=EMdaSoundEncoding16BitPCM
   296 channels				=2
   297 buffer_size				=1024
   298 
   299 [set_settings_pcm16_mono_8khz_32kb_max_buffer_recording]
   300 rate					=8000
   301 encoding				=EMdaSoundEncoding16BitPCM
   302 channels				=2
   303 buffer_size				=8192
   304 
   305 [set_settings_alaw8bit_mono_8khz_min_buffer_recording]
   306 rate					=8000
   307 encoding				=EMdaSoundEncoding8BitALaw
   308 channels				=2
   309 buffer_size				=1024
   310 
   311 [set_settings_alaw8bit_mono_8khz_max_buffer_recording]
   312 rate					=8000
   313 encoding				=EMdaSoundEncoding8BitALaw
   314 channels				=2
   315 buffer_size				=8192
   316 
   317 [set_settings_mulaw8bit_mono_12khz_min_buffer_recording]
   318 rate					=12000
   319 encoding				=EMdaSoundEncoding8BitMuLaw
   320 channels				=2
   321 buffer_size				=1024
   322 
   323 [set_settings_mulaw8bit_mono_12khz_max_buffer_recording]
   324 rate					=12000
   325 encoding				=EMdaSoundEncoding8BitMuLaw
   326 channels				=2
   327 buffer_size				=8192
   328