os/boardsupport/haitest/bspsvs/suite/bsp/sound/testdata/h6hrp/t_sound.ini
changeset 0 bde4ae8d615e
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/os/boardsupport/haitest/bspsvs/suite/bsp/sound/testdata/h6hrp/t_sound.ini	Fri Jun 15 03:10:57 2012 +0200
     1.3 @@ -0,0 +1,314 @@
     1.4 +# This is the global environment file to configure the sound  on specific device
     1.5 +# The current default sound values are configured for Nonia TI3430 hardware common sound device
     1.6 +# Licencees may need to configure below values to specific devices
     1.7 +
     1.8 +
     1.9 +[Drives]
    1.10 +# Defines the path to the testdata files on ROM.
    1.11 +# Do not use drive letter here (for TestDriver compatibility)
    1.12 +ROMDriveTestPath = \base\sound\validation\
    1.13 +
    1.14 +# A RAM drive in the environment. 
    1.15 +# Defines the character of the drive, the default value is 'C'.
    1.16 +RAMDriveChar = C
    1.17 +
    1.18 +# Defines the drive's index.
    1.19 +RAMDrive = EDrive{Drives, RAMDriveChar}
    1.20 +
    1.21 +# Defines the path to the testdata files on RAM
    1.22 +RAMDriveTestPath = {Drives, RAMDriveChar}:\base\sound\validation\
    1.23 +
    1.24 +
    1.25 +# driver version
    1.26 +[driver]
    1.27 +version			=1.00(1935)
    1.28 +
    1.29 +# pdd/ldd driver names and unit to test. By default unit -1 (0xffffffff in HEX)
    1.30 +[UnitEnum]
    1.31 +unit					=0xffffffff
    1.32 +pdd						=ESDRV
    1.33 +ldd						=ESOUND
    1.34 +
    1.35 +[default_play_format]
    1.36 +# Playback format used in system by default
    1.37 +# Values used to restore default play format after format change
    1.38 +rate					=8000
    1.39 +encoding				=EMdaSoundEncoding8BitPCM|EMdaSoundEncoding16BitPCM
    1.40 +channels				=2
    1.41 +buffer_size				=32768
    1.42 +# Values are used to verify default playback format
    1.43 +rate_expected				=8000
    1.44 +encoding_expected			=EMdaSoundEncoding8BitPCM|EMdaSoundEncoding16BitPCM
    1.45 +channels_expected			=2
    1.46 +buffer_size_expected			=32768
    1.47 +
    1.48 +[valid_play_format]
    1.49 +# Supported playback format used in system (non-default)
    1.50 +# Values are used to set playback format
    1.51 +rate					=8000
    1.52 +encoding				=EMdaSoundEncoding8BitPCM|EMdaSoundEncoding16BitPCM
    1.53 +channels				=2
    1.54 +buffer_size				=2000
    1.55 +# Values are used to verify current playback format
    1.56 +rate_expected				=8000
    1.57 +encoding_expected			=EMdaSoundEncoding8BitPCM|EMdaSoundEncoding16BitPCM
    1.58 +channels_expected			=2
    1.59 +buffer_size_expected			=2000
    1.60 +
    1.61 +[another_valid_play_format]
    1.62 +# Another supported playback format used in system (non-default)
    1.63 +# Values are used to set playback format
    1.64 +rate					=44100
    1.65 +encoding				=EMdaSoundEncoding8BitPCM|EMdaSoundEncoding16BitPCM
    1.66 +channels				=2
    1.67 +buffer_size				=2000
    1.68 +# Values are used to verify current playback format
    1.69 +rate_expected				=44100
    1.70 +encoding_expected			=EMdaSoundEncoding8BitPCM|EMdaSoundEncoding16BitPCM
    1.71 +channels_expected			=2
    1.72 +buffer_size_expected			=2000
    1.73 +
    1.74 +[default_record_format]
    1.75 +# Record format used in system by default
    1.76 +# Values used to restore default record format after format change
    1.77 +rate					=8000
    1.78 +encoding				=EMdaSoundEncoding8BitPCM|EMdaSoundEncoding16BitPCM
    1.79 +channels				=2
    1.80 +buffer_size				=8192
    1.81 +# Values are used to verify default record format
    1.82 +rate_expected				=8000
    1.83 +encoding_expected			=EMdaSoundEncoding8BitPCM|EMdaSoundEncoding16BitPCM
    1.84 +channels_expected			=2
    1.85 +buffer_size_expected			=8192
    1.86 +
    1.87 +[valid_record_format]
    1.88 +# Another supported record format used in system
    1.89 +# Values are used to set record format
    1.90 +rate					=8000
    1.91 +encoding				=EMdaSoundEncoding8BitPCM|EMdaSoundEncoding16BitPCM
    1.92 +channels				=2
    1.93 +buffer_size				=8192
    1.94 +# Values are used to verify current record format
    1.95 +rate_expected				=8000
    1.96 +encoding_expected			=EMdaSoundEncoding8BitPCM|EMdaSoundEncoding16BitPCM
    1.97 +channels_expected			=2
    1.98 +buffer_size_expected			=8192
    1.99 +
   1.100 +[default_play_volume]
   1.101 +# Value to restore default play volume level
   1.102 +volume					=63
   1.103 +# Value to verify default play volume level
   1.104 +volume_expected				=63
   1.105 +
   1.106 +[max_play_volume]
   1.107 +# Value to set max supported play volume level
   1.108 +volume					=63
   1.109 +# Value to verify max supported play volume level
   1.110 +volume_expected				=63
   1.111 +
   1.112 +[min_play_volume]
   1.113 +# Value to set min supported play volume level
   1.114 +volume					=0
   1.115 +# Value to verify min supported play volume level
   1.116 +volume_expected				=0
   1.117 +
   1.118 +[play_volume_quater]
   1.119 +# Value to set 1/2 of max supported play volume level
   1.120 +volume					=32
   1.121 +# Value to verify 1/2 of max supported play volume level
   1.122 +volume_expected				=32
   1.123 +
   1.124 +[default_record_level]
   1.125 +# Value to restore default record volume level
   1.126 +sound_level				=31
   1.127 +# Value to verify default record volume level
   1.128 +sound_level_expected			=31
   1.129 +
   1.130 +[max_record_level]
   1.131 +# Value to set max supported record volume level
   1.132 +sound_level				=31
   1.133 +# Value to verify max supported record volume level
   1.134 +sound_level_expected			=31
   1.135 +
   1.136 +[min_record_level]
   1.137 +# Value to set min supported record volume level
   1.138 +sound_level				=0
   1.139 +# Value to verify min supported record volume level
   1.140 +sound_level_expected			=0
   1.141 +
   1.142 +[half_record_level]
   1.143 +# Value to set 1/2 of max supported record volume level
   1.144 +sound_level				=16
   1.145 +# Value to verify 1/2 of max supported record volume level
   1.146 +sound_level_expected			=16
   1.147 +
   1.148 +[unsupported_play_format]
   1.149 +# Playback format not supported by device - bitrate out of range, channels number out of range
   1.150 +rate					=80008
   1.151 +encoding				=EMdaSoundEncoding8BitPCM
   1.152 +channels				=3
   1.153 +buffer_size				=2000
   1.154 +
   1.155 +[unsupported_record_format]
   1.156 +# Record format not supported by device - bitrate out of range, channels number out of range
   1.157 +rate					=80008
   1.158 +encoding				=EMdaSoundEncoding8BitPCM
   1.159 +channels				=3
   1.160 +buffer_size				=8192
   1.161 +
   1.162 +[default_play_format_invalid_encoding]
   1.163 +encoding				=EMdaSoundEncoding40BitPCM
   1.164 +
   1.165 +[default_play_format_invalid_rate]
   1.166 +rate					=80008
   1.167 +
   1.168 +[default_play_format_invalid_buffer_size]
   1.169 +buffer_size				=23
   1.170 +
   1.171 +[default_play_format_invalid_channels]
   1.172 +channels				=754534
   1.173 +
   1.174 +[default_record_format_invalid_encoding]
   1.175 +encoding				=EMdaSoundEncoding40BitPCM
   1.176 +
   1.177 +[default_record_format_invalid_rate]
   1.178 +rate					=80008
   1.179 +
   1.180 +[default_record_format_invalid_buffer_size]
   1.181 +buffer_size				=23
   1.182 +
   1.183 +[default_record_format_invalid_channels]
   1.184 +channels				=754534
   1.185 +
   1.186 +[default_file]
   1.187 +data_size				=32720
   1.188 +from_file				={Drives, ROMDriveTestPath}pcm16_stereo_8khz_32kb.raw
   1.189 +
   1.190 +[valid_file]
   1.191 +data_size				=32720
   1.192 +from_file				={Drives, ROMDriveTestPath}pcm16_stereo_8khz_32kb.raw
   1.193 +
   1.194 +[not_supported_conf_audio_file]
   1.195 +data_size				=32768
   1.196 +from_file				={Drives, ROMDriveTestPath}pcm8_stereo_8khz_32kb.raw
   1.197 +
   1.198 +[play_formats_supported]
   1.199 +# Values to verify supported playback formats
   1.200 +min_rate_expected			=8000
   1.201 +max_rate_expected			=48000
   1.202 +channels_expected			=2
   1.203 +min_buffer_size_expected		=1024
   1.204 +max_buffer_size_expected		=32768
   1.205 +min_volume_expected			=0
   1.206 +max_volume_expected			=63
   1.207 +encodings_expected			=EMdaSoundEncoding8BitPCM|EMdaSoundEncoding16BitPCM
   1.208 +
   1.209 +[record_formats_supported]
   1.210 +# Values to verify supported record formats
   1.211 +min_rate_expected			=8000
   1.212 +max_rate_expected			=48000
   1.213 +channels_expected			=2
   1.214 +min_buffer_size_expected		=8192
   1.215 +max_buffer_size_expected		=8192
   1.216 +min_volume_expected			=0
   1.217 +max_volume_expected			=31
   1.218 +encodings_expected			=EMdaSoundEncoding8BitPCM|EMdaSoundEncoding16BitPCM
   1.219 +
   1.220 +#different buffer sizes for playback
   1.221 +[set_settings_pcm8_mono_8khz_32kb_min_buffer]
   1.222 +rate					=8000
   1.223 +encoding				=EMdaSoundEncoding8BitPCM
   1.224 +channels				=2
   1.225 +buffer_size				=1024
   1.226 +
   1.227 +[set_settings_pcm8_mono_8khz_32kb_max_buffer]
   1.228 +rate					=8000
   1.229 +encoding				=EMdaSoundEncoding8BitPCM
   1.230 +channels				=2
   1.231 +buffer_size				=32768
   1.232 +
   1.233 +[set_settings_pcm16_mono_8khz_32kb_min_buffer]
   1.234 +rate					=8000
   1.235 +encoding				=EMdaSoundEncoding16BitPCM
   1.236 +channels				=2
   1.237 +buffer_size				=1024
   1.238 +
   1.239 +[set_settings_pcm16_mono_8khz_32kb_max_buffer]
   1.240 +rate					=8000
   1.241 +encoding				=EMdaSoundEncoding16BitPCM
   1.242 +channels				=2
   1.243 +buffer_size				=32768
   1.244 +
   1.245 +[set_settings_alaw8bit_mono_8khz_min_buffer]
   1.246 +rate					=8000
   1.247 +encoding				=EMdaSoundEncoding8BitALaw
   1.248 +channels				=2
   1.249 +buffer_size				=1024
   1.250 +
   1.251 +[set_settings_alaw8bit_mono_8khz_max_buffer]
   1.252 +rate					=8000
   1.253 +encoding				=EMdaSoundEncoding8BitALaw
   1.254 +channels				=2
   1.255 +buffer_size				=32768
   1.256 +
   1.257 +[set_settings_mulaw8bit_mono_12khz_min_buffer]
   1.258 +rate					=12000
   1.259 +encoding				=EMdaSoundEncoding8BitMuLaw
   1.260 +channels				=2
   1.261 +buffer_size				=1024
   1.262 +
   1.263 +[set_settings_mulaw8bit_mono_12khz_max_buffer]
   1.264 +rate					=12000
   1.265 +encoding				=EMdaSoundEncoding8BitMuLaw
   1.266 +channels				=2
   1.267 +buffer_size				=32768
   1.268 +
   1.269 +#different buffer sizes for recording
   1.270 +[set_settings_pcm8_mono_8khz_32kb_min_buffer_recording]
   1.271 +rate					=8000
   1.272 +encoding				=EMdaSoundEncoding8BitPCM
   1.273 +channels				=2
   1.274 +buffer_size				=8192
   1.275 +
   1.276 +[set_settings_pcm8_mono_8khz_32kb_max_buffer_recording]
   1.277 +rate					=8000
   1.278 +encoding				=EMdaSoundEncoding8BitPCM
   1.279 +channels				=2
   1.280 +buffer_size				=8192
   1.281 +
   1.282 +[set_settings_pcm16_mono_8khz_32kb_min_buffer_recording]
   1.283 +rate					=8000
   1.284 +encoding				=EMdaSoundEncoding16BitPCM
   1.285 +channels				=2
   1.286 +buffer_size				=8192
   1.287 +
   1.288 +[set_settings_pcm16_mono_8khz_32kb_max_buffer_recording]
   1.289 +rate					=8000
   1.290 +encoding				=EMdaSoundEncoding16BitPCM
   1.291 +channels				=2
   1.292 +buffer_size				=8192
   1.293 +
   1.294 +[set_settings_alaw8bit_mono_8khz_min_buffer_recording]
   1.295 +rate					=8000
   1.296 +encoding				=EMdaSoundEncoding8BitALaw
   1.297 +channels				=2
   1.298 +buffer_size				=1024
   1.299 +
   1.300 +[set_settings_alaw8bit_mono_8khz_max_buffer_recording]
   1.301 +rate					=8000
   1.302 +encoding				=EMdaSoundEncoding8BitALaw
   1.303 +channels				=2
   1.304 +buffer_size				=8192
   1.305 +
   1.306 +[set_settings_mulaw8bit_mono_12khz_min_buffer_recording]
   1.307 +rate					=12000
   1.308 +encoding				=EMdaSoundEncoding8BitMuLaw
   1.309 +channels				=2
   1.310 +buffer_size				=1024
   1.311 +
   1.312 +[set_settings_mulaw8bit_mono_12khz_max_buffer_recording]
   1.313 +rate					=12000
   1.314 +encoding				=EMdaSoundEncoding8BitMuLaw
   1.315 +channels				=2
   1.316 +buffer_size				=8192
   1.317 +