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