Home | History | Annotate | Download | only in sandbox

Lines Matching defs:duration

564     // get the duration before prefetch
565 XAmillisecond duration;
566 result = (*playerPlay)->GetDuration(playerPlay, &duration);
568 if (XA_TIME_UNKNOWN == duration)
569 printf("Duration before prefetch: unknown as expected\n");
571 printf("Duration before prefetch: %.1f (surprise!)\n", duration / 1000.0f);
594 // get duration again, now it should be known for the file source or unknown for TS
595 result = (*playerPlay)->GetDuration(playerPlay, &duration);
597 if (duration == XA_TIME_UNKNOWN) {
598 printf("Duration after prefetch: unknown (expected for TS, unexpected for file)\n");
600 printf("Duration after prefetch: %u ms (expected for file, unexpected for TS)\n", duration);
688 printf(" duration = %u\n", audioStreamInformation.duration);
700 printf(" duration = %u\n", videoStreamInformation.duration);
724 printf(" duration = %u\n", timedTextStreamInformation.duration);
735 printf(" duration = %u\n", midiStreamInformation.duration);
831 // get duration again, now it should be known
832 result = (*playerPlay)->GetDuration(playerPlay, &duration);
834 if (duration == XA_TIME_UNKNOWN) {
835 printf("Duration at end: unknown\n");
837 printf("Duration at end: %u ms\n", duration);