Lines Matching refs:streams
55 StreamMap::StreamMap(int32_t streams) { in StreamMap() argument
56 ALOGV("%s(%d)", __func__, streams); in StreamMap()
57 if (streams > kMaxStreams) { in StreamMap()
58 ALOGW("%s: requested %d streams, clamping to %d", __func__, streams, kMaxStreams); in StreamMap()
59 streams = kMaxStreams; in StreamMap()
60 } else if (streams < 1) { in StreamMap()
61 ALOGW("%s: requested %d streams, clamping to 1", __func__, streams); in StreamMap()
62 streams = 1; in StreamMap()
64 mStreamPoolSize = streams * 2; in StreamMap()
108 int32_t streams, size_t threads, const audio_attributes_t& attributes, in StreamManager() argument
110 : StreamMap(streams) in StreamManager()
116 , mLockStreamManagerStop(streams == 1 || kForceLockStreamManagerStop)
118 ALOGV("%s(%d, %zu, ...)", __func__, streams, threads);
127 std::min((size_t)streams, // do not make more threads than streams to play