Searched refs:streamIn (Results 1 – 2 of 2) sorted by relevance
/hardware/libhardware/modules/audio_remote_submix/tests/ |
D | remote_submix_tests.cpp | 70 const char* address, bool mono, uint32_t sampleRate, audio_stream_in_t** streamIn); 73 void ReadFromStream(audio_stream_in_t* streamIn, char* buffer, size_t bufferSize); 78 audio_stream_in_t* streamIn, size_t inBufferSize, size_t repeats); 107 const char* address, bool mono, uint32_t sampleRate, audio_stream_in_t** streamIn) { in OpenInputStream() argument 108 *streamIn = nullptr; in OpenInputStream() 114 streamIn, AUDIO_INPUT_FLAG_NONE, address, AUDIO_SOURCE_DEFAULT); in OpenInputStream() 116 ASSERT_NE(nullptr, *streamIn); in OpenInputStream() 133 audio_stream_in_t* streamIn, char* buffer, size_t bufferSize) { in ReadFromStream() argument 134 ssize_t result = streamIn->read(streamIn, buffer, bufferSize); in ReadFromStream() 156 audio_stream_in_t* streamIn, size_t inBufferSize, in VerifyOutputInput() argument [all …]
|
/hardware/interfaces/audio/core/all-versions/default/ |
D | Device.cpp | 185 sp<IStreamIn> streamIn; in openInputStreamImpl() local 187 streamIn = new StreamIn(this, halStream); in openInputStreamImpl() 190 return {analyzeStatus("open_input_stream", status, {EINVAL} /*ignore*/), streamIn}; in openInputStreamImpl() 208 auto [result, streamIn] = in openInputStream() 210 _hidl_cb(result, streamIn, suggestedConfig); in openInputStream() 243 auto [result, streamIn] = in openInputStream() 245 if (streamIn) { in openInputStream() 246 streamIn->updateSinkMetadata(sinkMetadata); in openInputStream() 248 _hidl_cb(result, streamIn, suggestedConfig); in openInputStream()
|