• Home
  • Raw
  • Download

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);
74 static status_t isSourceActive(audio_source_t source, bool *state);
79 static status_t setParameters(audio_io_handle_t ioHandle, const String8& keyValuePairs);
90 …static status_t getOutputSamplingRate(int* samplingRate, audio_stream_type_t stream = AUDIO_STREAM…
91 …static status_t getOutputFrameCount(int* frameCount, audio_stream_type_t stream = AUDIO_STREAM_DEF…
92 …static status_t getOutputLatency(uint32_t* latency, audio_stream_type_t stream = AUDIO_STREAM_DEFA…
93 static status_t getSamplingRate(audio_io_handle_t output,
98 static status_t getFrameCount(audio_io_handle_t output,
103 static status_t getLatency(audio_io_handle_t output,
108 static status_t getOutputSamplingRate(int* samplingRate, int stream = AUDIO_STREAM_DEFAULT);
111 static status_t getOutputFrameCount(int* frameCount, int stream = AUDIO_STREAM_DEFAULT);
115 static status_t getInputBufferSize(uint32_t sampleRate, audio_format_t format,
118 static status_t setVoiceVolume(float volume);
129 …static status_t getRenderPosition(uint32_t *halFrames, uint32_t *dspFrames, audio_stream_type_t st…
186 …static status_t setDeviceConnectionState(audio_devices_t device, audio_policy_dev_state_t state, c…
188 static status_t setPhoneState(audio_mode_t state);
189 static status_t setForceUse(audio_policy_force_use_t usage, audio_policy_forced_cfg_t config);
196 static status_t startOutput(audio_io_handle_t output,
199 static status_t stopOutput(audio_io_handle_t output,
208 static status_t startInput(audio_io_handle_t input);
209 static status_t stopInput(audio_io_handle_t input);
211 static status_t initStreamVolume(audio_stream_type_t stream,
214 static status_t setStreamVolumeIndex(audio_stream_type_t stream,
217 static status_t getStreamVolumeIndex(audio_stream_type_t stream,
225 static status_t registerEffect(const effect_descriptor_t *desc,
230 static status_t unregisterEffect(int id);
231 static status_t setEffectEnabled(int id, bool enabled);