Lines Matching defs:count

587     dprintf(fd, "  HAL frame count: %zu\n", mFrameCount);
1319 dprintf(fd, " Normal frame count: %zu\n", mNormalFrameCount);
1324 dprintf(fd, " Suspend count: %d\n", mSuspended);
1377 // use case 1: shared buffer with any frame count
1381 // use case 2: callback handler and frame count is default or at least as large as HAL
1403 // if frameCount not specified, then it defaults to fast mixer (HAL) frame count
1424 // to be at least 2 x the normal mixer frame count and cover audio hardware latency.
1617 // set retry count for buffer fill
1888 // track, but we sometimes have to do this to satisfy the maximum frame count
2071 size_t count = tracksToRemove.size();
2072 if (count > 0) {
2073 for (size_t i = 0 ; i < count ; i++) {
2120 const size_t count = mBytesRemaining / mFrameSize;
2133 ssize_t framesWritten = mNormalSink->write((char *)mSinkBuffer + offset, count);
2208 - mSinkBufferSize from frame count * frame size
2212 - maxPeriod from frame count and sample rate (MIXER only)
2215 - frame count
2684 size_t count = tracksToRemove.size();
2685 if (count > 0) {
2686 for (size_t i=0 ; i<count ; i++) {
3085 ALOGV("Audio hardware entering standby, mixer %p, suspend count %d", this, mSuspended);
3178 size_t count = mActiveTracks.size();
3213 for (size_t i=0 ; i<count ; i++) {
3248 // don't count underruns that occur while stopping or pausing
3252 // FIXME fast mixer will pull & mix partial buffers, but we count as a full underrun
3276 // track has provided at least some frames recently: reset retry count
3586 // reset retry count
3680 ALOG_ASSERT(i < count);
3792 // do not accept frame count changes if tracks are open as the track buffer
3793 // size depends on frame count and correct behavior would not be guaranteed
3794 // if frame count is changed after track creation
4006 size_t count = mActiveTracks.size();
4013 for (size_t i = 0; i < count; i++) {
4082 // reset retry count
4158 (doHwPause || (flushPending && !mHwPaused && (count != 0)))) {
4281 // do not accept frame count changes if tracks are open as the track buffer
4282 // size depends on frame count and correct behavior would not be garantied
4283 // if frame count is changed after track creation
4495 size_t count = mActiveTracks.size();
4501 ALOGV("OffloadThread::prepareTracks_l active tracks %d", count);
4504 for (size_t i = 0; i < count; i++) {
4608 // reset retry count
4677 if (!mStandby && (doHwPause || (mFlushPending && !mHwPaused && (count != 0)))) {
5654 // frame count is not specified, or is exactly the pipe depth
5682 // compute track buffer size in frames, and suggest the notification frame count
5684 // fast track: frame count is exactly the pipe depth
6072 // channel count change can be requested. Do we mandate the first client defines the
6073 // HAL sampling rate and channel count or do we allow changes on the fly?
6096 // do not accept frame count changes if tracks are open as the track buffer
6097 // size depends on frame count and correct behavior would not be guaranteed
6098 // if frame count is changed after track creation