Lines Matching refs:status_t
32 typedef void (*audio_error_callback)(status_t err);
46 static status_t muteMicrophone(bool state);
47 static status_t isMicrophoneMuted(bool *state);
50 static status_t setMasterVolume(float value);
51 static status_t getMasterVolume(float* volume);
54 static status_t setMasterMute(bool mute);
55 static status_t getMasterMute(bool* mute);
58 static status_t setStreamVolume(audio_stream_type_t stream, float value,
60 static status_t getStreamVolume(audio_stream_type_t stream, float* volume,
64 static status_t setStreamMute(audio_stream_type_t stream, bool mute);
65 static status_t getStreamMute(audio_stream_type_t stream, bool* mute);
68 static status_t setMode(audio_mode_t mode);
72 static status_t isStreamActive(audio_stream_type_t stream, bool *state, uint32_t inPastMs = 0);
77 static status_t setParameters(audio_io_handle_t ioHandle, const String8& keyValuePairs);
88 …static status_t getOutputSamplingRate(int* samplingRate, audio_stream_type_t stream = AUDIO_STREAM…
89 …static status_t getOutputFrameCount(int* frameCount, audio_stream_type_t stream = AUDIO_STREAM_DEF…
90 …static status_t getOutputLatency(uint32_t* latency, audio_stream_type_t stream = AUDIO_STREAM_DEFA…
91 static status_t getSamplingRate(audio_io_handle_t output,
96 static status_t getFrameCount(audio_io_handle_t output,
101 static status_t getLatency(audio_io_handle_t output,
106 static status_t getOutputSamplingRate(int* samplingRate, int stream = AUDIO_STREAM_DEFAULT);
109 static status_t getOutputFrameCount(int* frameCount, int stream = AUDIO_STREAM_DEFAULT);
113 static status_t getInputBufferSize(uint32_t sampleRate, audio_format_t format, int channelCount,
116 static status_t setVoiceVolume(float volume);
127 …static status_t getRenderPosition(uint32_t *halFrames, uint32_t *dspFrames, audio_stream_type_t st…
183 …static status_t setDeviceConnectionState(audio_devices_t device, audio_policy_dev_state_t state, c…
185 static status_t setPhoneState(audio_mode_t state);
186 static status_t setForceUse(audio_policy_force_use_t usage, audio_policy_forced_cfg_t config);
193 static status_t startOutput(audio_io_handle_t output,
196 static status_t stopOutput(audio_io_handle_t output,
206 static status_t startInput(audio_io_handle_t input);
207 static status_t stopInput(audio_io_handle_t input);
209 static status_t initStreamVolume(audio_stream_type_t stream,
212 static status_t setStreamVolumeIndex(audio_stream_type_t stream,
215 static status_t getStreamVolumeIndex(audio_stream_type_t stream,
223 static status_t registerEffect(effect_descriptor_t *desc,
228 static status_t unregisterEffect(int id);
229 static status_t setEffectEnabled(int id, bool enabled);