Lines Matching refs:mAaudioStream
108 AAudioStream *mAaudioStream = nullptr; member in LibAaudioFuzzer
199 aaudio_result_t result = AAudioStreamBuilder_openStream(mAaudioBuilder, &mAaudioStream); in process()
200 if ((result != AAUDIO_OK) || (!mAaudioStream)) { in process()
212 int32_t framesPerBurst = AAudioStream_getFramesPerBurst(mAaudioStream); in process()
216 AAudioStream_setBufferSizeInFrames(mAaudioStream, requestedBufferSize); in process()
220 AAudioStream_getTimestamp(mAaudioStream, CLOCK_MONOTONIC, &position, &nanoseconds); in process()
223 AAudioStream_requestStart(mAaudioStream); in process()
226 AAudioStream_requestPause(mAaudioStream); in process()
229 AAudioStream_requestFlush(mAaudioStream); in process()
232 AAudioStream_requestStop(mAaudioStream); in process()
235 aaudio_format_t actualFormat = AAudioStream_getFormat(mAaudioStream); in process()
236 int32_t actualChannelCount = AAudioStream_getChannelCount(mAaudioStream); in process()
239 aaudio_direction_t direction = AAudioStream_getDirection(mAaudioStream); in process()
244 AAudioStream_read(mAaudioStream, inputShortData.data(), maxFrames, in process()
247 AAudioStream_write(mAaudioStream, inputShortData.data(), maxFrames, in process()
253 AAudioStream_read(mAaudioStream, inputFloatData.data(), maxFrames, in process()
256 AAudioStream_write(mAaudioStream, inputFloatData.data(), maxFrames, in process()
262 AAudioStream_waitForStateChange(mAaudioStream, AAUDIO_STREAM_STATE_UNKNOWN, &state, in process()
267 (void)AAudioStream_getState(mAaudioStream); in process()
270 (void)AAudioStream_getUsage(mAaudioStream); in process()
273 (void)AAudioStream_getSamplesPerFrame(mAaudioStream); in process()
276 (void)AAudioStream_getContentType(mAaudioStream); in process()
279 (void)AAudioStream_getInputPreset(mAaudioStream); in process()
282 (void)AAudioStream_isPrivacySensitive(mAaudioStream); in process()
285 (void)AAudioStream_getAllowedCapturePolicy(mAaudioStream); in process()
288 (void)AAudioStream_getPerformanceMode(mAaudioStream); in process()
291 (void)AAudioStream_getDeviceId(mAaudioStream); in process()
294 (void)AAudioStream_getSharingMode(mAaudioStream); in process()
297 (void)AAudioStream_getSessionId(mAaudioStream); in process()
300 (void)AAudioStream_getFramesRead(mAaudioStream); in process()
303 (void)AAudioStream_getXRunCount(mAaudioStream); in process()
306 (void)AAudioStream_getFramesWritten(mAaudioStream); in process()
309 (void)AAudioStream_getBufferCapacityInFrames(mAaudioStream); in process()
312 (void)AAudioStream_getBufferSizeInFrames(mAaudioStream); in process()
315 (void)AAudioStream_isMMapUsed(mAaudioStream); in process()
320 AAudioStream_release(mAaudioStream); in process()
327 if (mAaudioStream) { in deInit()
328 AAudioStream_close(mAaudioStream); in deInit()