Lines Matching refs:AudioSystem
20 #include <media/AudioSystem.h>
65 virtual status_t setDeviceConnectionState(AudioSystem::audio_devices device,
66 AudioSystem::device_connection_state state,
69 virtual AudioSystem::device_connection_state getDeviceConnectionState(AudioSystem::audio_devices device,
71 // indicate a change in phone state. Valid phones states are defined by AudioSystem::audio_mode
76 virtual void setForceUse(AudioSystem::force_use usage, AudioSystem::forced_config config) = 0;
78 virtual AudioSystem::forced_config getForceUse(AudioSystem::force_use usage) = 0;
88 virtual audio_io_handle_t getOutput(AudioSystem::stream_type stream,
90 uint32_t format = AudioSystem::FORMAT_DEFAULT,
92 AudioSystem::output_flags flags = AudioSystem::OUTPUT_FLAG_INDIRECT) = 0;
94 virtual status_t startOutput(audio_io_handle_t output, AudioSystem::stream_type stream) = 0;
96 virtual status_t stopOutput(audio_io_handle_t output, AudioSystem::stream_type stream) = 0;
103 uint32_t Format = AudioSystem::FORMAT_DEFAULT,
105 AudioSystem::audio_in_acoustics acoustics = (AudioSystem::audio_in_acoustics)0) = 0;
118 virtual void initStreamVolume(AudioSystem::stream_type stream,
123 virtual status_t setStreamVolumeIndex(AudioSystem::stream_type stream, int index) = 0;
125 virtual status_t getStreamVolumeIndex(AudioSystem::stream_type stream, int *index) = 0;
151 AudioSystem::output_flags flags) = 0;
181 virtual status_t setStreamVolume(AudioSystem::stream_type stream, float volume, audio_io_handle_t output, int delayMs = 0) = 0;
184 virtual status_t setStreamOutput(AudioSystem::stream_type stream, audio_io_handle_t output) = 0;
193 virtual status_t startTone(ToneGenerator::tone_type tone, AudioSystem::stream_type stream) = 0;