Home
last modified time | relevance | path

Searched refs:audioStream (Results 1 – 3 of 3) sorted by relevance

/frameworks/av/media/libaaudio/src/core/
DAAudioAudio.cpp205 AudioStream *audioStream = nullptr; in AAudioStreamBuilder_openStream() local
210 aaudio_result_t result = streamBuilder->build(&audioStream); in AAudioStreamBuilder_openStream()
212 audioStream->registerPlayerBase(); in AAudioStreamBuilder_openStream()
213 *streamPtr = (AAudioStream*) audioStream; in AAudioStreamBuilder_openStream()
214 id = audioStream->getId(); in AAudioStreamBuilder_openStream()
235 AudioStream* audioStream = convertAAudioStreamToAudioStream(stream); in AAudioStream_release() local
236 if (audioStream != nullptr) { in AAudioStream_release()
237 aaudio_stream_id_t id = audioStream->getId(); in AAudioStream_release()
239 result = audioStream->safeRelease(); in AAudioStream_release()
254 AudioStream* audioStream = convertAAudioStreamToAudioStream(stream); in AAudioStream_close() local
[all …]
DAudioStreamBuilder.cpp101 AudioStream *audioStream = nullptr; in build() local
174 result = builder_createStream(getDirection(), sharingMode, allowMMap, &audioStream); in build()
177 result = audioStream->open(*this); in build()
179 *streamPtr = audioStream; in build()
181 bool isMMap = audioStream->isMMap(); in build()
182 delete audioStream; in build()
183 audioStream = nullptr; in build()
189 false, &audioStream); in build()
191 result = audioStream->open(*this); in build()
193 *streamPtr = audioStream; in build()
[all …]
DAudioStream.cpp393 AudioStream *audioStream = (AudioStream *) threadArg; in AudioStream_internalThreadProc() local
394 return audioStream->wrapUserThread(); in AudioStream_internalThreadProc()