Home | History | Annotate | Download | only in mimeUri

Lines Matching full:rate

71         SLpermille minRate, maxRate, stepSize, rate = 1000;
75 SLresult res = (*pRateItf)->GetRate(pRateItf, &rate); CheckErr(res);
78 fprintf(stdout, "old rate = %d, minRate=%d, maxRate=%d\n", rate, minRate, maxRate);
79 rate /= 2;
80 if (rate < minRate) {
81 rate = minRate;
83 fprintf(stdout, "new rate = %d\n", rate);
84 res = (*pRateItf)->SetRate(pRateItf, rate); CheckErr(res);
86 fprintf(stderr, "new playback rate %d per mille is unsupported\n", rate);
146 // Display rate capabilities in a nicely formatted way
289 /* Get the default rate */
290 SLpermille rate = 1234;
291 res = (*rateItf)->GetRate(rateItf, &rate); CheckErr(res);
292 printf("default rate = %d per mille\n", rate);
293 assert(1000 == rate);
295 /* Get the default rate properties */
298 printf("default rate properties: ");
303 /* Get all supported playback rate ranges */
312 fprintf(stderr, "implementation supports no rate ranges\n");
318 fprintf(stderr, "implementation supports way too many rate ranges, I'm giving up\n");
326 /* Change the playback rate before playback */
329 fprintf(stderr, "initial playback rate %d per mille is unsupported\n", INITIAL_RATE);
402 fprintf(stdout, "playback rate each time.\n\n");