Lines Matching refs:stream

85         virtual audio_io_handle_t getOutput(AudioSystem::stream_type stream,
92 AudioSystem::stream_type stream,
95 AudioSystem::stream_type stream,
110 virtual void initStreamVolume(AudioSystem::stream_type stream,
113 virtual status_t setStreamVolumeIndex(AudioSystem::stream_type stream,
116 virtual status_t getStreamVolumeIndex(AudioSystem::stream_type stream,
120 // return the strategy corresponding to a given stream type
121 virtual uint32_t getStrategyForStream(AudioSystem::stream_type stream);
123 // return the enabled output devices for the given stream type
124 virtual audio_devices_t getDevicesForStream(AudioSystem::stream_type stream);
135 virtual bool isStreamActive(int stream, uint32_t inPastMs = 0) const;
188 // the IOProfile class describes the capabilities of an output or input stream.
208 // indicates the supported parameters should be read from the output stream
217 HwModule *mModule; // audio HW module exposing this I/O stream
232 // default volume curves per stream and device category. See initializeVolumeCurves()
236 // and keep track of the usage of this output by each audio stream type.
265 float mCurVolume[AudioSystem::NUM_STREAM_TYPES]; // current stream volume
290 // stream descriptor used for volume control
302 bool mCanBeMuted; // true is the stream can be muted
307 // stream descriptor used for volume control
323 // return the strategy corresponding to a given stream type
324 static routing_strategy getStrategy(AudioSystem::stream_type stream);
358 // compute the actual volume for a given stream according to the requested index and a particular
360 virtual float computeVolume(int stream, int index, audio_io_handle_t output, audio_devices_t device);
363 status_t checkAndSetVolume(int stream, int index, audio_io_handle_t output, audio_devices_t device, int delayMs = 0, bool force = false);
365 // apply all stream volumes to the specified output and device
375 // Mute or unmute the stream on the specified output
376 void setStreamMute(int stream,
384 void handleIncallSonification(int stream, bool starting, bool stateChange);
437 virtual bool needsDirectOuput(audio_stream_type_t stream,
520 StreamDescriptor mStreams[AudioSystem::NUM_STREAM_TYPES]; // stream descriptors for volume control
566 void handleNotificationRoutingForStream(AudioSystem::stream_type stream);