Lines Matching full:stream
89 virtual audio_io_handle_t getOutput(AudioSystem::stream_type stream,
97 AudioSystem::stream_type stream,
100 AudioSystem::stream_type stream,
115 virtual void initStreamVolume(AudioSystem::stream_type stream,
118 virtual status_t setStreamVolumeIndex(AudioSystem::stream_type stream,
121 virtual status_t getStreamVolumeIndex(AudioSystem::stream_type stream,
125 // return the strategy corresponding to a given stream type
126 virtual uint32_t getStrategyForStream(AudioSystem::stream_type stream);
128 // return the enabled output devices for the given stream type
129 virtual audio_devices_t getDevicesForStream(AudioSystem::stream_type stream);
140 virtual bool isStreamActive(int stream, uint32_t inPastMs = 0) const;
141 // return whether a stream is playing remotely, override to change the definition of
144 virtual bool isStreamActiveRemotely(int stream, uint32_t inPastMs = 0) const;
199 // the IOProfile class describes the capabilities of an output or input stream.
219 // indicates the supported parameters should be read from the output stream
228 HwModule *mModule; // audio HW module exposing this I/O stream
245 // default volume curves per stream and device category. See initializeVolumeCurves()
249 // and keep track of the usage of this output by each audio stream type.
258 void changeRefCount(AudioSystem::stream_type stream, int delta);
265 bool isStreamActive(AudioSystem::stream_type stream,
283 float mCurVolume[AudioSystem::NUM_STREAM_TYPES]; // current stream volume
309 // stream descriptor used for volume control
321 bool mCanBeMuted; // true is the stream can be muted
326 // stream descriptor used for volume control
342 // return the strategy corresponding to a given stream type
343 static routing_strategy getStrategy(AudioSystem::stream_type stream);
377 // compute the actual volume for a given stream according to the requested index and a particular
379 virtual float computeVolume(int stream, int index, audio_io_handle_t output, audio_devices_t device);
382 status_t checkAndSetVolume(int stream, int index, audio_io_handle_t output, audio_devices_t device, int delayMs = 0, bool force = false);
384 // apply all stream volumes to the specified output and device
394 // Mute or unmute the stream on the specified output
395 void setStreamMute(int stream,
403 void handleIncallSonification(int stream, bool starting, bool stateChange);
535 StreamDescriptor mStreams[AudioSystem::NUM_STREAM_TYPES]; // stream descriptors for volume control
583 void handleNotificationRoutingForStream(AudioSystem::stream_type stream);