Lines Matching defs:stream

40     // Initialize the current stream's index to mIndexMax so volume isn't 0 in
104 for (size_t stream = 0 ; stream < AUDIO_STREAM_CNT; stream++) {
105 add(static_cast<audio_stream_type_t>(stream), StreamDescriptor());
109 bool StreamDescriptorCollection::canBeMuted(audio_stream_type_t stream)
111 return valueAt(stream).canBeMuted();
114 void StreamDescriptorCollection::clearCurrentVolumeIndex(audio_stream_type_t stream)
116 editValueAt(stream).clearCurrentVolumeIndex();
119 void StreamDescriptorCollection::addCurrentVolumeIndex(audio_stream_type_t stream,
122 editValueAt(stream).addCurrentVolumeIndex(device, index);
125 void StreamDescriptorCollection::setVolumeCurvePoint(audio_stream_type_t stream,
129 editValueAt(stream).setVolumeCurvePoint(deviceCategory, point);
132 const VolumeCurvePoint *StreamDescriptorCollection::getVolumeCurvePoint(audio_stream_type_t stream,
135 return valueAt(stream).getVolumeCurvePoint(deviceCategory);
138 void StreamDescriptorCollection::setVolumeIndexMin(audio_stream_type_t stream,int volIndexMin)
140 return editValueAt(stream).setVolumeIndexMin(volIndexMin);
143 void StreamDescriptorCollection::setVolumeIndexMax(audio_stream_type_t stream,int volIndexMax)
145 return editValueAt(stream).setVolumeIndexMax(volIndexMax);
148 float StreamDescriptorCollection::volIndexToDb(audio_stream_type_t stream, device_category category,
151 const StreamDescriptor &streamDesc = valueAt(stream);
157 status_t StreamDescriptorCollection::initStreamVolume(audio_stream_type_t stream,
160 ALOGV("initStreamVolume() stream %d, min %d, max %d", stream , indexMin, indexMax);
162 ALOGW("initStreamVolume() invalid index limits for stream %d, min %d, max %d",
163 stream , indexMin, indexMax);
166 setVolumeIndexMin(stream, indexMin);
167 setVolumeIndexMax(stream, indexMax);