Home
last modified time | relevance | path

Searched refs:AAudioStream (Results 1 – 25 of 30) sorted by relevance

12

/frameworks/av/media/libaaudio/include/aaudio/
DAAudio.h848 typedef struct AAudioStreamStruct AAudioStream; typedef
1358 AAudioStream* _Nonnull stream,
1446 AAudioStream* _Nonnull stream,
1490 AAudioStream* _Nullable* _Nonnull stream) __INTRODUCED_IN(26);
1555 AAUDIO_API aaudio_result_t AAudioStream_release(AAudioStream* _Nonnull stream)
1569 AAUDIO_API aaudio_result_t AAudioStream_close(AAudioStream* _Nonnull stream) __INTRODUCED_IN(26);
1583 AAUDIO_API aaudio_result_t AAudioStream_requestStart(AAudioStream* _Nonnull stream)
1601 AAUDIO_API aaudio_result_t AAudioStream_requestPause(AAudioStream* _Nonnull stream)
1622 AAUDIO_API aaudio_result_t AAudioStream_requestFlush(AAudioStream* _Nonnull stream)
1636 AAUDIO_API aaudio_result_t AAudioStream_requestStop(AAudioStream* _Nonnull stream)
[all …]
DAAudioTesting.h86 AAUDIO_API bool AAudioStream_isMMapUsed(AAudioStream* stream);
/frameworks/av/media/libaaudio/src/core/
DAAudioAudio.cpp56 static AudioStream *convertAAudioStreamToAudioStream(AAudioStream* stream) in convertAAudioStreamToAudioStream()
247 AAudioStream** streamPtr) in AAudioStreamBuilder_openStream()
256 *streamPtr = (AAudioStream*) audioStream; in AAudioStreamBuilder_openStream()
276 AAUDIO_API aaudio_result_t AAudioStream_release(AAudioStream* stream) { in AAudioStream_release()
295 AAUDIO_API aaudio_result_t AAudioStream_close(AAudioStream* stream) { in AAudioStream_close()
317 AAUDIO_API aaudio_result_t AAudioStream_requestStart(AAudioStream* stream) in AAudioStream_requestStart()
327 AAUDIO_API aaudio_result_t AAudioStream_requestPause(AAudioStream* stream) in AAudioStream_requestPause()
334 AAUDIO_API aaudio_result_t AAudioStream_requestFlush(AAudioStream* stream) in AAudioStream_requestFlush()
341 AAUDIO_API aaudio_result_t AAudioStream_requestStop(AAudioStream* stream) in AAudioStream_requestStop()
348 AAUDIO_API aaudio_result_t AAudioStream_waitForStateChange(AAudioStream* stream, in AAudioStream_waitForStateChange()
[all …]
/frameworks/av/media/libaaudio/tests/
Dtest_idle_disconnected_shared_stream.cpp31 AAudioStream* openStream() { in openStream()
41 AAudioStream* aaudioStream; in openStream()
58 AAudioStream* firstStream = openStream(); in testNoCloseSharedStreamAfterRoutingChanged()
82 AAudioStream* secondStream = openStream(); in testNoCloseSharedStreamAfterRoutingChanged()
Dtest_bad_disconnect.cpp32 AAudioStream *stream,
38 AAudioStream *stream = nullptr;
47 AAudioStream *stream, in s_myDataCallbackProc()
127 AAudioStream *stream __unused, in s_myErrorCallbackProc()
Dtest_interference.cpp33 AAudioStream *stream, in MyDataCallbackProc()
52 AAudioStream *aaudioStream1 = nullptr; in TEST()
53 AAudioStream *aaudioStream2 = nullptr; in TEST()
Dtest_aaudio_monkey.cpp43 AAudioStream *stream,
49 AAudioStream * /* stream */,
187 AAudioStream *stream, in renderAudio()
234 AAudioStream *stream, in AAudioMonkeyDataCallback()
249 AAudioStream * /* stream */, in AAudioMonkeyErrorCallbackProc() argument
Dtest_disconnect_race.cpp139 AAudioStream * /* stream */, in s_myDataCallbackProc() argument
148 AAudioStream * stream, in s_myErrorCallbackProc()
163 AAudioStream* mStream = nullptr;
Dtest_session_id.cpp37 AAudioStream *aaudioStream1 = nullptr; in checkSessionIdNone()
80 AAudioStream *aaudioStream1 = nullptr; in checkSessionIdAllocate()
82 AAudioStream *aaudioStream2 = nullptr; in checkSessionIdAllocate()
Dtest_callback_race.cpp117 AAudioStream *stream, in s_myDataCallbackProc()
133 AAudioStream * /* stream */, in s_myErrorCallbackProc() argument
140 AAudioStream* mStream = nullptr;
Dtest_return_stop.cpp35 AAudioStream *stream,
41 AAudioStream *stream = nullptr;
64 AAudioStream *stream, in s_myDataCallbackProc()
137 AAudioStream *stream __unused, in s_myErrorCallbackProc()
Dtest_various.cpp32 AAudioStream * stream, in NoopDataCallbackProc()
61 AAudioStream* aaudioStream = nullptr; in checkReleaseThenClose()
181 AAudioStream *aaudioStream = nullptr; in checkStateTransition()
655 AAudioStream *aaudioStream = nullptr; in TEST()
715 AAudioStream *stream, in CallbackOnceProc()
735 AAudioStream *aaudioStream = nullptr; in checkCallbackOnce()
767 void waitForStateChangeToClosingorClosed(AAudioStream **stream, std::atomic<bool>* isReady) in waitForStateChangeToClosingorClosed()
782 AAudioStream *aaudioStream = nullptr; in testWaitForStateChangeClose()
852 AAudioStream *stream, in DangerousDataCallbackProc()
875 AAudioStream *aaudioStream = nullptr; in checkDangerousCallback()
Dtest_steal_exclusive.cpp81 AAudioStream * /* stream */,
87 AAudioStream *stream,
296 AAudioStream *mStream = nullptr;
308 AAudioStream * /* stream */, in s_myDataCallbackProc() argument
325 AAudioStream * /* stream */, in s_myErrorCallbackProc() argument
Dtest_open_params.cpp30 AAudioStream *stream, in MyDataCallbackProc()
58 AAudioStream *aaudioStream = nullptr; in testOpenOptions()
Dtest_no_close.cpp31 AAudioStream *aaudioStream = nullptr; in main()
Dtest_mmap_path.cpp55 AAudioStream *aaudioStream = nullptr; in openStreamAndVerify()
Dtest_n_streams.cpp34 AAudioStream *aaudioStreams[MAX_STREAMS]; in testMaxStreams()
Dtest_recovery.cpp42 AAudioStream *aaudioStream = nullptr; in main()
Dtest_timestamps.cpp102 AAudioStream *stream, in timestampDataCallbackProc()
168 AAudioStream *aaudioStream = nullptr; in testTimeStamps()
/frameworks/av/media/libaaudio/examples/utils/
DAAudioArgsParser.h45 static aaudio_usage_t (*s_getUsage)(AAudioStream *stream) = nullptr;
46 static aaudio_content_type_t (*s_getContentType)(AAudioStream *stream) = nullptr;
47 static aaudio_input_preset_t (*s_getInputPreset)(AAudioStream *stream) = nullptr;
48 static aaudio_allowed_capture_policy_t (*s_getAllowedCapturePolicy)(AAudioStream *stream) = nullptr;
49 static bool (*s_isPrivacySensitive)(AAudioStream *stream) = nullptr;
78 s_getUsage = (aaudio_usage_t (*)(AAudioStream *)) in loadFutureFunctions()
82 s_getContentType = (aaudio_content_type_t (*)(AAudioStream *)) in loadFutureFunctions()
86 s_getInputPreset = (aaudio_input_preset_t (*)(AAudioStream *)) in loadFutureFunctions()
90 s_getAllowedCapturePolicy = (aaudio_input_preset_t (*)(AAudioStream *)) in loadFutureFunctions()
94 s_isPrivacySensitive = (bool (*)(AAudioStream *)) in loadFutureFunctions()
[all …]
DAAudioSimpleRecorder.h233 AAudioStream *getStream() const { in getStream()
238 AAudioStream *mStream = nullptr;
252 AAudioStream *stream, in SimpleRecorderDataCallbackProc()
301 AAudioStream *stream __unused, in SimpleRecorderErrorCallbackProc()
DAAudioSimplePlayer.h274 AAudioStream *getStream() const { in getStream()
279 AAudioStream *mStream = nullptr;
344 AAudioStream *stream, in SimplePlayerDataCallbackProc()
448 AAudioStream *stream __unused, in SimplePlayerErrorCallbackProc()
/frameworks/av/media/libaaudio/examples/loopback/src/
Dloopback.cpp85 AAudioStream *inputStream = nullptr;
86 AAudioStream *outputStream = nullptr;
183 AAudioStream *outputStream, in MyDataCallbackProc()
311 AAudioStream * /* stream */, in MyErrorCallbackProc() argument
420 AAudioStream *inputStream = nullptr; in main()
421 AAudioStream *outputStream = nullptr; in main()
/frameworks/av/media/libaaudio/examples/input_monitor/src/
Dinput_monitor_callback.cpp34 AAudioStream *aaudioStream = nullptr; in main()
Dinput_monitor.cpp37 AAudioStream *aaudioStream = nullptr; in main()

12