Lines Matching defs:rate
207 = MultiAudio::convert_to_sample_rate(fDevice->FormatInfo().output.rate);
234 = MultiAudio::convert_to_sample_rate(fDevice->FormatInfo().input.rate);
533 // if the request failed, we reset the frame rate
1367 uint32 rate = id == PARAMETER_ID_INPUT_FREQUENCY
1368 ? info.input.rate : info.output.rate;
1370 if (*size < sizeof(rate))
1373 memcpy(value, &rate, sizeof(rate));
1374 *size = sizeof(rate);
1463 uint32 rate;
1464 if (size < sizeof(rate))
1466 memcpy(&rate, value, sizeof(rate));
1468 if (rate == fOutputPreferredFormat.u.raw_audio.frame_rate)
1471 // create a cookie RequestCompleted() can get the old frame rate from,
1488 float frameRate = MultiAudio::convert_to_sample_rate(rate);
1515 uint32 rate;
1516 if (size < sizeof(rate))
1518 memcpy(&rate, value, sizeof(rate));
1520 if (rate == fInputPreferredFormat.u.raw_audio.frame_rate)
1523 // create a cookie RequestCompleted() can get the old frame rate from,
1540 float frameRate = MultiAudio::convert_to_sample_rate(rate);
2271 // check whether the frame rate is supported
2279 if (fDevice->FormatInfo().output.rate == multiAudioRate)
2282 // set the frame rate on the device
2326 // check whether the frame rate is supported
2334 if (fDevice->FormatInfo().input.rate == multiAudioRate)
2337 // set the frame rate on the device