Lines Matching refs:mAaudioBuilder
107 AAudioStreamBuilder *mAaudioBuilder = nullptr; member in LibAaudioFuzzer
112 aaudio_result_t result = AAudio_createStreamBuilder(&mAaudioBuilder); in init()
113 if ((result != AAUDIO_OK) || (!mAaudioBuilder)) { in init()
122 AAudioStreamBuilder_setPerformanceMode(mAaudioBuilder, mode); in invokeAAudioSetAPIs()
125 AAudioStreamBuilder_setDeviceId(mAaudioBuilder, deviceId); in invokeAAudioSetAPIs()
130 AAudioStreamBuilder_setPackageName(mAaudioBuilder, packageName.c_str()); in invokeAAudioSetAPIs()
133 AAudioStreamBuilder_setAttributionTag(mAaudioBuilder, attributionTag.c_str()); in invokeAAudioSetAPIs()
136 AAudioStreamBuilder_setSampleRate(mAaudioBuilder, sampleRate); in invokeAAudioSetAPIs()
139 AAudioStreamBuilder_setChannelCount(mAaudioBuilder, channelCount); in invokeAAudioSetAPIs()
143 AAudioStreamBuilder_setDirection(mAaudioBuilder, direction); in invokeAAudioSetAPIs()
147 AAudioStreamBuilder_setFormat(mAaudioBuilder, format); in invokeAAudioSetAPIs()
151 AAudioStreamBuilder_setSharingMode(mAaudioBuilder, sharingMode); in invokeAAudioSetAPIs()
155 AAudioStreamBuilder_setUsage(mAaudioBuilder, usage); in invokeAAudioSetAPIs()
159 AAudioStreamBuilder_setContentType(mAaudioBuilder, contentType); in invokeAAudioSetAPIs()
163 AAudioStreamBuilder_setInputPreset(mAaudioBuilder, inputPreset); in invokeAAudioSetAPIs()
166 AAudioStreamBuilder_setPrivacySensitive(mAaudioBuilder, privacySensitive); in invokeAAudioSetAPIs()
169 AAudioStreamBuilder_setBufferCapacityInFrames(mAaudioBuilder, frames); in invokeAAudioSetAPIs()
173 AAudioStreamBuilder_setAllowedCapturePolicy(mAaudioBuilder, allowedCapturePolicy); in invokeAAudioSetAPIs()
177 AAudioStreamBuilder_setSessionId(mAaudioBuilder, sessionId); in invokeAAudioSetAPIs()
179 AAudioStreamBuilder_setDataCallback(mAaudioBuilder, nullptr, nullptr); in invokeAAudioSetAPIs()
180 AAudioStreamBuilder_setErrorCallback(mAaudioBuilder, nullptr, nullptr); in invokeAAudioSetAPIs()
184 AAudioStreamBuilder_setFramesPerDataCallback(mAaudioBuilder, framesPerDataCallback); in invokeAAudioSetAPIs()
199 aaudio_result_t result = AAudioStreamBuilder_openStream(mAaudioBuilder, &mAaudioStream); in process()
324 if (mAaudioBuilder) { in deInit()
325 AAudioStreamBuilder_delete(mAaudioBuilder); in deInit()