OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:durationinmsec
(Results
1 - 20
of
20
) sorted by null
/cts/suite/audio_quality/test_description/processing/
gen_random.py
30
def do_gen_random(peakAmpl,
durationInMSec
, samplingRate, fHigh, stereo=True):
31
samples =
durationInMSec
* samplingRate / 1000
95
durationInMSec
= 10000
98
result = do_gen_random(peakAmplitude,
durationInMSec
, samplingRate, fHigh)
check_spectrum.py
154
durationInMSec
= 1000
158
data = getattr(mod, "do_gen_random")(peakAmpl,
durationInMSec
, samplingRate, fHigh,\
check_spectrum_playback.py
120
durationInMSec
= 1000
124
data = getattr(mod, "do_gen_random")(peakAmpl,
durationInMSec
, samplingRate, fHigh,\
/frameworks/wilhelm/tests/mimeUri/
slesTestLoopUri.cpp
221
SLmillisecond
durationInMsec
= SL_TIME_UNKNOWN;
222
res = (*playItf)->GetDuration(playItf, &
durationInMsec
);
224
if (
durationInMsec
== SL_TIME_UNKNOWN) {
228
durationInMsec
);
252
res = (*playItf)->GetDuration(playItf, &
durationInMsec
);
254
if (
durationInMsec
== SL_TIME_UNKNOWN) {
257
fprintf(stdout, "Content duration is %u ms (after prefetch completed)\n",
durationInMsec
);
267
usleep( (REPETITIONS-1) *
durationInMsec
* 1100);
272
usleep(
durationInMsec
* 1000);
slesTestPlayUri2.cpp
218
SLmillisecond
durationInMsec
= SL_TIME_UNKNOWN;
219
result = (*playItf)->GetDuration(playItf, &
durationInMsec
);
221
if (
durationInMsec
== SL_TIME_UNKNOWN) {
224
fprintf(stdout, "Content duration of first URI is %u ms\n",
durationInMsec
);
228
if (
durationInMsec
== SL_TIME_UNKNOWN) {
229
durationInMsec
= 5000; /* arbitrary time when duration is unknown */
231
usleep((
durationInMsec
+ 2000) * 1000);
slesTestSlowDownUri.cpp
272
SLmillisecond
durationInMsec
= SL_TIME_UNKNOWN;
273
res = (*playItf)->GetDuration(playItf, &
durationInMsec
); CheckErr(res);
274
if (
durationInMsec
== SL_TIME_UNKNOWN) {
278
durationInMsec
);
354
res = (*playItf)->GetDuration(playItf, &
durationInMsec
); CheckErr(res);
355
if (
durationInMsec
== SL_TIME_UNKNOWN) {
358
fprintf(stdout, "Content duration is %u ms (after prefetch completed)\n",
durationInMsec
);
368
usleep( (REPETITIONS-1) *
durationInMsec
* 1100);
372
usleep(
durationInMsec
* 1100);
380
usleep(
durationInMsec
* 1000)
[
all
...]
slesTestPlayUri.cpp
228
SLmillisecond
durationInMsec
= SL_TIME_UNKNOWN;
229
res = (*playItf)->GetDuration(playItf, &
durationInMsec
);
231
if (
durationInMsec
== SL_TIME_UNKNOWN) {
235
durationInMsec
);
267
res = (*playItf)->GetDuration(playItf, &
durationInMsec
);
269
if (
durationInMsec
== SL_TIME_UNKNOWN) {
272
fprintf(stdout, "Content duration is %u ms (after prefetch completed)\n",
durationInMsec
);
299
usleep(
durationInMsec
* 1000);
305
usleep((
durationInMsec
+ 200) * 1000);
slesTestPlayStreamType.cpp
178
SLmillisecond
durationInMsec
= SL_TIME_UNKNOWN;
179
result = (*playItf)->GetDuration(playItf, &
durationInMsec
);
181
if (
durationInMsec
== SL_TIME_UNKNOWN) {
182
durationInMsec
= 5000;
189
usleep((
durationInMsec
/2) * 1000);
210
usleep((
durationInMsec
/2) * 1000);
slesTestGetPositionUri.cpp
153
SLmillisecond
durationInMsec
= SL_TIME_UNKNOWN;
260
res = (*playItf)->GetDuration(playItf, &
durationInMsec
); CheckErr(res);
261
if (
durationInMsec
== SL_TIME_UNKNOWN) {
265
fprintf(stdout, "Content duration is %u ms (after prefetch completed)\n",
durationInMsec
);
272
while ((counter*1000) <
durationInMsec
) {
slesTestManyPlayers.cpp
294
SLmillisecond
durationInMsec
= SL_TIME_UNKNOWN;
295
res = (*playItfs[playerId])->GetDuration(playItfs[playerId], &
durationInMsec
);
297
if (
durationInMsec
== SL_TIME_UNKNOWN) {
300
fprintf(stdout, "Content duration is %u ms for player %d\n",
durationInMsec
, playerId);
/frameworks/wilhelm/tests/examples/
slesTestPlayFdPath.cpp
163
SLmillisecond
durationInMsec
= SL_TIME_UNKNOWN;
164
result = (*playItf)->GetDuration(playItf, &
durationInMsec
);
166
if (
durationInMsec
== SL_TIME_UNKNOWN) {
167
durationInMsec
= 5000;
174
usleep(
durationInMsec
* 1000);
slesTestBassBoostPath.cpp
181
SLmillisecond
durationInMsec
= SL_TIME_UNKNOWN;
182
result = (*playItf)->GetDuration(playItf, &
durationInMsec
);
184
if (
durationInMsec
== SL_TIME_UNKNOWN) {
185
durationInMsec
= 5000;
213
for(unsigned int j=0 ; j<(
durationInMsec
/(1000*TIME_S_BETWEEN_BB_ON_OFF)) ; j++) {
slesTestEqFdPath.cpp
186
SLmillisecond
durationInMsec
= SL_TIME_UNKNOWN;
187
result = (*playItf)->GetDuration(playItf, &
durationInMsec
);
189
if (
durationInMsec
== SL_TIME_UNKNOWN) {
190
durationInMsec
= 5000;
242
for(unsigned int j=0 ; j<(
durationInMsec
/(1000*TIME_S_BETWEEN_EQ_ON_OFF)) ; j++) {
slesTestEqOutputPath.cpp
190
SLmillisecond
durationInMsec
= SL_TIME_UNKNOWN;
191
result = (*playItf)->GetDuration(playItf, &
durationInMsec
);
193
if (
durationInMsec
== SL_TIME_UNKNOWN) {
194
durationInMsec
= 5000;
246
for(unsigned int j=0 ; j<(
durationInMsec
/(1000*TIME_S_BETWEEN_EQ_ON_OFF)) ; j++) {
slesTestVirtualizerPath.cpp
182
SLmillisecond
durationInMsec
= SL_TIME_UNKNOWN;
183
result = (*playItf)->GetDuration(playItf, &
durationInMsec
);
185
if (
durationInMsec
== SL_TIME_UNKNOWN) {
186
durationInMsec
= 5000;
215
for(unsigned int j=0 ; j<(
durationInMsec
/(1000*TIME_S_BETWEEN_VIRT_ON_OFF)) ; j++) {
slesTestDecodeToBuffQueue.cpp
218
SLmillisecond
durationInMsec
= SL_TIME_UNKNOWN;
219
SLresult result = (*pCntxt->playItf)->GetDuration(pCntxt->playItf, &
durationInMsec
);
221
if (
durationInMsec
== SL_TIME_UNKNOWN) {
225
durationInMsec
);
449
SLmillisecond
durationInMsec
= SL_TIME_UNKNOWN;
450
result = (*playItf)->GetDuration(playItf, &
durationInMsec
);
452
if (
durationInMsec
== SL_TIME_UNKNOWN) {
455
fprintf(stdout, "Content duration is %ums\n",
durationInMsec
);
slesTestSendToPresetReverb.cpp
249
SLmillisecond
durationInMsec
= SL_TIME_UNKNOWN;
250
result = (*playItf)->GetDuration(playItf, &
durationInMsec
);
252
if (
durationInMsec
== SL_TIME_UNKNOWN) {
254
durationInMsec
= 10000;
256
printf("Duration is %.1f seconds\n",
durationInMsec
/ 1000.0);
/frameworks/wilhelm/tests/
mimeUri_test.cpp
186
SLmillisecond
durationInMsec
= SL_TIME_UNKNOWN;
187
res = (*playItf)->GetDuration(playItf, &
durationInMsec
);
216
res = (*playItf)->GetDuration(playItf, &
durationInMsec
);
218
if (
durationInMsec
== SL_TIME_UNKNOWN) {
222
SLint32 durationDiffMsec =
durationInMsec
- MP3_DURATION;
226
durationInMsec
, MP3_DURATION);
/frameworks/wilhelm/tests/sandbox/streamSource/
slesTestPlayStream.cpp
274
SLmillisecond
durationInMsec
= SL_TIME_UNKNOWN;
275
res = (*playItf)->GetDuration(playItf, &
durationInMsec
);
277
if (
durationInMsec
== SL_TIME_UNKNOWN) {
281
durationInMsec
);
341
/* res = (*playItf)->GetDuration(playItf, &
durationInMsec
);
343
if (
durationInMsec
== SL_TIME_UNKNOWN) {
346
fprintf(stdout, "Content duration is %lu ms (after prefetch completed)\n",
durationInMsec
);
/frameworks/ex/variablespeed/jni/
variablespeed.cc
519
SLmillisecond
durationInMsec
= SL_TIME_UNKNOWN;
520
OpenSL(playItf, GetDuration, &
durationInMsec
);
521
if (
durationInMsec
== SL_TIME_UNKNOWN) {
525
LOGD("duration: %d", static_cast<int>(
durationInMsec
));
526
return
durationInMsec
;
Completed in 872 milliseconds