os/boardsupport/haitest/bspsvs/suite/bsp/sound/testdata/h6hrp/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 Nonia TI3430 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(1935)
    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				=EMdaSoundEncoding8BitPCM|EMdaSoundEncoding16BitPCM
    37 channels				=2
    38 buffer_size				=32768
    39 # Values are used to verify default playback format
    40 rate_expected				=8000
    41 encoding_expected			=EMdaSoundEncoding8BitPCM|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				=EMdaSoundEncoding8BitPCM|EMdaSoundEncoding16BitPCM
    50 channels				=2
    51 buffer_size				=2000
    52 # Values are used to verify current playback format
    53 rate_expected				=8000
    54 encoding_expected			=EMdaSoundEncoding8BitPCM|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				=EMdaSoundEncoding8BitPCM|EMdaSoundEncoding16BitPCM
    63 channels				=2
    64 buffer_size				=2000
    65 # Values are used to verify current playback format
    66 rate_expected				=44100
    67 encoding_expected			=EMdaSoundEncoding8BitPCM|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				=EMdaSoundEncoding8BitPCM|EMdaSoundEncoding16BitPCM
    76 channels				=2
    77 buffer_size				=8192
    78 # Values are used to verify default record format
    79 rate_expected				=8000
    80 encoding_expected			=EMdaSoundEncoding8BitPCM|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				=EMdaSoundEncoding8BitPCM|EMdaSoundEncoding16BitPCM
    89 channels				=2
    90 buffer_size				=8192
    91 # Values are used to verify current record format
    92 rate_expected				=8000
    93 encoding_expected			=EMdaSoundEncoding8BitPCM|EMdaSoundEncoding16BitPCM
    94 channels_expected			=2
    95 buffer_size_expected			=8192
    96 
    97 [default_play_volume]
    98 # Value to restore default play volume level
    99 volume					=63
   100 # Value to verify default play volume level
   101 volume_expected				=63
   102 
   103 [max_play_volume]
   104 # Value to set max supported play volume level
   105 volume					=63
   106 # Value to verify max supported play volume level
   107 volume_expected				=63
   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				=31
   124 # Value to verify default record volume level
   125 sound_level_expected			=31
   126 
   127 [max_record_level]
   128 # Value to set max supported record volume level
   129 sound_level				=31
   130 # Value to verify max supported record volume level
   131 sound_level_expected			=31
   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				=16
   142 # Value to verify 1/2 of max supported record volume level
   143 sound_level_expected			=16
   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				=8192
   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 
   187 [valid_file]
   188 data_size				=32720
   189 from_file				={Drives, ROMDriveTestPath}pcm16_stereo_8khz_32kb.raw
   190 
   191 [not_supported_conf_audio_file]
   192 data_size				=32768
   193 from_file				={Drives, ROMDriveTestPath}pcm8_stereo_8khz_32kb.raw
   194 
   195 [play_formats_supported]
   196 # Values to verify supported playback formats
   197 min_rate_expected			=8000
   198 max_rate_expected			=48000
   199 channels_expected			=2
   200 min_buffer_size_expected		=1024
   201 max_buffer_size_expected		=32768
   202 min_volume_expected			=0
   203 max_volume_expected			=63
   204 encodings_expected			=EMdaSoundEncoding8BitPCM|EMdaSoundEncoding16BitPCM
   205 
   206 [record_formats_supported]
   207 # Values to verify supported record formats
   208 min_rate_expected			=8000
   209 max_rate_expected			=48000
   210 channels_expected			=2
   211 min_buffer_size_expected		=8192
   212 max_buffer_size_expected		=8192
   213 min_volume_expected			=0
   214 max_volume_expected			=31
   215 encodings_expected			=EMdaSoundEncoding8BitPCM|EMdaSoundEncoding16BitPCM
   216 
   217 #different buffer sizes for playback
   218 [set_settings_pcm8_mono_8khz_32kb_min_buffer]
   219 rate					=8000
   220 encoding				=EMdaSoundEncoding8BitPCM
   221 channels				=2
   222 buffer_size				=1024
   223 
   224 [set_settings_pcm8_mono_8khz_32kb_max_buffer]
   225 rate					=8000
   226 encoding				=EMdaSoundEncoding8BitPCM
   227 channels				=2
   228 buffer_size				=32768
   229 
   230 [set_settings_pcm16_mono_8khz_32kb_min_buffer]
   231 rate					=8000
   232 encoding				=EMdaSoundEncoding16BitPCM
   233 channels				=2
   234 buffer_size				=1024
   235 
   236 [set_settings_pcm16_mono_8khz_32kb_max_buffer]
   237 rate					=8000
   238 encoding				=EMdaSoundEncoding16BitPCM
   239 channels				=2
   240 buffer_size				=32768
   241 
   242 [set_settings_alaw8bit_mono_8khz_min_buffer]
   243 rate					=8000
   244 encoding				=EMdaSoundEncoding8BitALaw
   245 channels				=2
   246 buffer_size				=1024
   247 
   248 [set_settings_alaw8bit_mono_8khz_max_buffer]
   249 rate					=8000
   250 encoding				=EMdaSoundEncoding8BitALaw
   251 channels				=2
   252 buffer_size				=32768
   253 
   254 [set_settings_mulaw8bit_mono_12khz_min_buffer]
   255 rate					=12000
   256 encoding				=EMdaSoundEncoding8BitMuLaw
   257 channels				=2
   258 buffer_size				=1024
   259 
   260 [set_settings_mulaw8bit_mono_12khz_max_buffer]
   261 rate					=12000
   262 encoding				=EMdaSoundEncoding8BitMuLaw
   263 channels				=2
   264 buffer_size				=32768
   265 
   266 #different buffer sizes for recording
   267 [set_settings_pcm8_mono_8khz_32kb_min_buffer_recording]
   268 rate					=8000
   269 encoding				=EMdaSoundEncoding8BitPCM
   270 channels				=2
   271 buffer_size				=8192
   272 
   273 [set_settings_pcm8_mono_8khz_32kb_max_buffer_recording]
   274 rate					=8000
   275 encoding				=EMdaSoundEncoding8BitPCM
   276 channels				=2
   277 buffer_size				=8192
   278 
   279 [set_settings_pcm16_mono_8khz_32kb_min_buffer_recording]
   280 rate					=8000
   281 encoding				=EMdaSoundEncoding16BitPCM
   282 channels				=2
   283 buffer_size				=8192
   284 
   285 [set_settings_pcm16_mono_8khz_32kb_max_buffer_recording]
   286 rate					=8000
   287 encoding				=EMdaSoundEncoding16BitPCM
   288 channels				=2
   289 buffer_size				=8192
   290 
   291 [set_settings_alaw8bit_mono_8khz_min_buffer_recording]
   292 rate					=8000
   293 encoding				=EMdaSoundEncoding8BitALaw
   294 channels				=2
   295 buffer_size				=1024
   296 
   297 [set_settings_alaw8bit_mono_8khz_max_buffer_recording]
   298 rate					=8000
   299 encoding				=EMdaSoundEncoding8BitALaw
   300 channels				=2
   301 buffer_size				=8192
   302 
   303 [set_settings_mulaw8bit_mono_12khz_min_buffer_recording]
   304 rate					=12000
   305 encoding				=EMdaSoundEncoding8BitMuLaw
   306 channels				=2
   307 buffer_size				=1024
   308 
   309 [set_settings_mulaw8bit_mono_12khz_max_buffer_recording]
   310 rate					=12000
   311 encoding				=EMdaSoundEncoding8BitMuLaw
   312 channels				=2
   313 buffer_size				=8192
   314