/frameworks/av/media/libaaudio/src/client/ |
D | AudioStreamInternal.h | 49 aaudio_result_t requestStart() override; 51 aaudio_result_t requestStop() override; 53 aaudio_result_t getTimestamp(clockid_t clockId, 57 virtual aaudio_result_t updateStateMachine() override; 59 aaudio_result_t open(const AudioStreamBuilder &builder) override; 61 aaudio_result_t close() override; 63 aaudio_result_t setBufferSize(int32_t requestedFrames) override; 75 aaudio_result_t registerThread() override; 77 aaudio_result_t unregisterThread() override; 79 aaudio_result_t joinThread(void** returnArg); [all …]
|
D | AudioStreamInternal.cpp | 74 aaudio_result_t AudioStreamInternal::open(const AudioStreamBuilder &builder) { in open() 76 aaudio_result_t result = AAUDIO_OK; in open() 245 aaudio_result_t AudioStreamInternal::close() { in close() 246 aaudio_result_t result = AAUDIO_OK; in close() 267 aaudio_result_t result2 = AudioStream::close(); in close() 296 aaudio_result_t AudioStreamInternal::requestStart() in requestStart() 318 aaudio_result_t result = mServiceInterface.startStream(mServiceStreamHandle); in requestStart() 357 aaudio_result_t AudioStreamInternal::stopCallback() in stopCallback() 369 aaudio_result_t AudioStreamInternal::requestStop() { in requestStop() 370 aaudio_result_t result = stopCallback(); in requestStop() [all …]
|
D | AudioStreamInternalPlay.h | 37 aaudio_result_t open(const AudioStreamBuilder &builder) override; 39 aaudio_result_t requestPause() override; 41 aaudio_result_t requestFlush() override; 53 aaudio_result_t write(const void *buffer, 81 aaudio_result_t processDataNow(void *buffer, 92 aaudio_result_t writeNowWithConversion(const void *buffer,
|
/frameworks/av/services/oboeservice/ |
D | AAudioServiceStreamBase.h | 75 virtual aaudio_result_t open(const aaudio::AAudioStreamRequest &request) = 0; 77 virtual aaudio_result_t close(); 85 virtual aaudio_result_t start(); 93 virtual aaudio_result_t pause(); 102 virtual aaudio_result_t stop(); 104 aaudio_result_t stopTimestampThread(); 111 virtual aaudio_result_t flush(); 114 virtual aaudio_result_t startClient(const android::AudioClient& client __unused, in startClient() 120 virtual aaudio_result_t stopClient(audio_port_handle_t clientHandle __unused) { in stopClient() 134 aaudio_result_t sendServiceEvent(aaudio_service_event_t event, [all …]
|
D | AAudioServiceStreamMMAP.h | 53 aaudio_result_t open(const aaudio::AAudioStreamRequest &request) override; 61 aaudio_result_t pause() override; 63 aaudio_result_t stop() override; 65 aaudio_result_t startClient(const android::AudioClient& client, 68 aaudio_result_t stopClient(audio_port_handle_t clientHandle) override; 70 aaudio_result_t close() override; 76 aaudio_result_t getAudioDataDescription(AudioEndpointParcelable &parcelable) override; 78 aaudio_result_t getFreeRunningPosition(int64_t *positionFrames, int64_t *timeNanos) override; 80 aaudio_result_t getHardwareTimestamp(int64_t *positionFrames, int64_t *timeNanos) override; 86 aaudio_result_t startDevice() override;
|
D | AAudioService.h | 58 aaudio_result_t closeStream(aaudio::aaudio_handle_t streamHandle) override; 60 aaudio_result_t getStreamDescription( 64 aaudio_result_t startStream(aaudio::aaudio_handle_t streamHandle) override; 66 aaudio_result_t pauseStream(aaudio::aaudio_handle_t streamHandle) override; 68 aaudio_result_t stopStream(aaudio::aaudio_handle_t streamHandle) override; 70 aaudio_result_t flushStream(aaudio::aaudio_handle_t streamHandle) override; 72 aaudio_result_t registerAudioThread(aaudio::aaudio_handle_t streamHandle, 76 aaudio_result_t unregisterAudioThread(aaudio::aaudio_handle_t streamHandle, 79 aaudio_result_t startClient(aaudio::aaudio_handle_t streamHandle, 83 aaudio_result_t stopClient(aaudio::aaudio_handle_t streamHandle, [all …]
|
D | AAudioServiceStreamMMAP.cpp | 52 aaudio_result_t AAudioServiceStreamMMAP::close() { in close() 63 aaudio_result_t AAudioServiceStreamMMAP::open(const aaudio::AAudioStreamRequest &request) { in open() 73 aaudio_result_t result = AAudioServiceStreamBase::open(request); in open() 95 aaudio_result_t AAudioServiceStreamMMAP::startDevice() { in startDevice() 96 aaudio_result_t result = AAudioServiceStreamBase::startDevice(); in startDevice() 105 aaudio_result_t AAudioServiceStreamMMAP::pause() { in pause() 109 aaudio_result_t result = AAudioServiceStreamBase::pause(); in pause() 117 aaudio_result_t AAudioServiceStreamMMAP::stop() { in stop() 121 aaudio_result_t result = AAudioServiceStreamBase::stop(); in stop() 129 aaudio_result_t AAudioServiceStreamMMAP::startClient(const android::AudioClient& client, in startClient() [all …]
|
D | AAudioServiceEndpointShared.h | 41 aaudio_result_t open(const aaudio::AAudioStreamRequest &request) override; 43 aaudio_result_t close() override; 45 aaudio_result_t startStream(android::sp<AAudioServiceStreamBase> stream, 48 aaudio_result_t stopStream(android::sp<AAudioServiceStreamBase> stream, 51 aaudio_result_t getFreeRunningPosition(int64_t *positionFrames, int64_t *timeNanos) override; 53 aaudio_result_t getTimestamp(int64_t *positionFrames, int64_t *timeNanos) override; 63 aaudio_result_t startSharingThread_l(); 65 aaudio_result_t stopSharingThread();
|
D | AAudioServiceEndpoint.h | 48 virtual aaudio_result_t open(const aaudio::AAudioStreamRequest &request) = 0; 50 virtual aaudio_result_t close() = 0; 52 aaudio_result_t registerStream(android::sp<AAudioServiceStreamBase> stream); 54 aaudio_result_t unregisterStream(android::sp<AAudioServiceStreamBase> stream); 56 virtual aaudio_result_t startStream(android::sp<AAudioServiceStreamBase> stream, 59 virtual aaudio_result_t stopStream(android::sp<AAudioServiceStreamBase> stream, 62 virtual aaudio_result_t startClient(const android::AudioClient& client, in startClient() 68 virtual aaudio_result_t stopClient(audio_port_handle_t clientHandle) { in stopClient() 78 virtual aaudio_result_t getFreeRunningPosition(int64_t *positionFrames, int64_t *timeNanos) = 0; 87 virtual aaudio_result_t getTimestamp(int64_t *positionFrames, int64_t *timeNanos) = 0;
|
D | AAudioServiceEndpointMMAP.h | 51 aaudio_result_t open(const aaudio::AAudioStreamRequest &request) override; 53 aaudio_result_t close() override; 55 aaudio_result_t startStream(android::sp<AAudioServiceStreamBase> stream, 58 aaudio_result_t stopStream(android::sp<AAudioServiceStreamBase> stream, 61 aaudio_result_t startClient(const android::AudioClient& client, 64 aaudio_result_t stopClient(audio_port_handle_t clientHandle) override; 66 aaudio_result_t getFreeRunningPosition(int64_t *positionFrames, int64_t *timeNanos) override; 68 aaudio_result_t getTimestamp(int64_t *positionFrames, int64_t *timeNanos) override; 79 aaudio_result_t getDownDataDescription(AudioEndpointParcelable &parcelable);
|
D | AAudioServiceEndpointShared.cpp | 59 aaudio_result_t AAudioServiceEndpointShared::open(const aaudio::AAudioStreamRequest &request) { in open() 60 aaudio_result_t result = AAUDIO_OK; in open() 87 aaudio_result_t AAudioServiceEndpointShared::close() { in close() 110 aaudio_result_t aaudio::AAudioServiceEndpointShared::startSharingThread_l() { in startSharingThread_l() 118 aaudio_result_t result = getStreamInternal()->createThread(periodNanos, in startSharingThread_l() 128 aaudio_result_t aaudio::AAudioServiceEndpointShared::stopSharingThread() { in stopSharingThread() 130 aaudio_result_t result = getStreamInternal()->joinThread(NULL); in stopSharingThread() 134 aaudio_result_t AAudioServiceEndpointShared::startStream(sp<AAudioServiceStreamBase> sharedStream, in startStream() 136 aaudio_result_t result = AAUDIO_OK; in startStream() 167 aaudio_result_t AAudioServiceEndpointShared::stopStream(sp<AAudioServiceStreamBase> sharedStream, in stopStream() [all …]
|
D | AAudioService.cpp | 83 aaudio_result_t result = AAUDIO_OK; in openStream() 163 aaudio_result_t AAudioService::checkForPendingClose( in checkForPendingClose() 165 aaudio_result_t defaultResult) { in checkForPendingClose() 169 aaudio_result_t AAudioService::closeStream(aaudio_handle_t streamHandle) { in closeStream() 208 aaudio_result_t AAudioService::getStreamDescription( in getStreamDescription() 217 aaudio_result_t result = serviceStream->getDescription(parcelable); in getStreamDescription() 222 aaudio_result_t AAudioService::startStream(aaudio_handle_t streamHandle) { in startStream() 229 aaudio_result_t result = serviceStream->start(); in startStream() 233 aaudio_result_t AAudioService::pauseStream(aaudio_handle_t streamHandle) { in pauseStream() 239 aaudio_result_t result = serviceStream->pause(); in pauseStream() [all …]
|
D | AAudioServiceStreamBase.cpp | 83 aaudio_result_t AAudioServiceStreamBase::open(const aaudio::AAudioStreamRequest &request) { in open() 85 aaudio_result_t result = AAUDIO_OK; in open() 128 aaudio_result_t AAudioServiceStreamBase::close() { in close() 129 aaudio_result_t result = AAUDIO_OK; in close() 159 aaudio_result_t AAudioServiceStreamBase::startDevice() { in startDevice() 174 aaudio_result_t AAudioServiceStreamBase::start() { in start() 175 aaudio_result_t result = AAUDIO_OK; in start() 205 aaudio_result_t AAudioServiceStreamBase::pause() { in pause() 206 aaudio_result_t result = AAUDIO_OK; in pause() 237 aaudio_result_t AAudioServiceStreamBase::stop() { in stop() [all …]
|
/frameworks/av/media/libaaudio/src/core/ |
D | AudioStream.h | 60 virtual aaudio_result_t requestStart() = 0; 68 bool checkPauseStateTransition(aaudio_result_t *result); 80 virtual aaudio_result_t requestPause() in requestPause() 86 virtual aaudio_result_t requestFlush() { in requestFlush() 91 virtual aaudio_result_t requestStop() = 0; 94 virtual aaudio_result_t getTimestamp(clockid_t clockId, 103 virtual aaudio_result_t updateStateMachine() = 0; 107 virtual aaudio_result_t waitForStateChange(aaudio_stream_state_t currentState, 115 virtual aaudio_result_t open(const AudioStreamBuilder& builder); 121 virtual aaudio_result_t close() { in close() [all …]
|
D | AudioStream.cpp | 59 aaudio_result_t AudioStream::open(const AudioStreamBuilder& builder) in open() 62 aaudio_result_t result = builder.validate(); in open() 104 aaudio_result_t AudioStream::systemStart() { in systemStart() 112 aaudio_result_t result = requestStart(); in systemStart() 120 aaudio_result_t AudioStream::systemPause() { in systemPause() 162 aaudio_result_t result = requestPause(); in systemPause() 170 aaudio_result_t AudioStream::safeFlush() { in safeFlush() 182 aaudio_result_t result = AAudio_isFlushAllowed(getState()); in safeFlush() 190 aaudio_result_t AudioStream::systemStopFromCallback() { in systemStopFromCallback() 192 aaudio_result_t result = safeStop(); in systemStopFromCallback() [all …]
|
D | AAudioAudio.cpp | 50 AAUDIO_API const char * AAudio_convertResultToText(aaudio_result_t returnCode) { in AAudio_convertResultToText() 115 AAUDIO_API aaudio_result_t AAudio_createStreamBuilder(AAudioStreamBuilder** builder) in AAudio_createStreamBuilder() 245 AAUDIO_API aaudio_result_t AAudioStreamBuilder_openStream(AAudioStreamBuilder* builder, in AAudioStreamBuilder_openStream() 253 aaudio_result_t result = streamBuilder->build(&audioStream); in AAudioStreamBuilder_openStream() 266 AAUDIO_API aaudio_result_t AAudioStreamBuilder_delete(AAudioStreamBuilder* builder) in AAudioStreamBuilder_delete() 276 AAUDIO_API aaudio_result_t AAudioStream_close(AAudioStream* stream) in AAudioStream_close() 278 aaudio_result_t result = AAUDIO_ERROR_NULL; in AAudioStream_close() 297 AAUDIO_API aaudio_result_t AAudioStream_requestStart(AAudioStream* stream) in AAudioStream_requestStart() 302 aaudio_result_t result = audioStream->systemStart(); in AAudioStream_requestStart() 307 AAUDIO_API aaudio_result_t AAudioStream_requestPause(AAudioStream* stream) in AAudioStream_requestPause() [all …]
|
/frameworks/av/media/libaaudio/src/binding/ |
D | AAudioServiceInterface.h | 53 virtual aaudio_result_t closeStream(aaudio_handle_t streamHandle) = 0; 58 virtual aaudio_result_t getStreamDescription(aaudio_handle_t streamHandle, 64 virtual aaudio_result_t startStream(aaudio_handle_t streamHandle) = 0; 69 virtual aaudio_result_t pauseStream(aaudio_handle_t streamHandle) = 0; 74 virtual aaudio_result_t stopStream(aaudio_handle_t streamHandle) = 0; 79 virtual aaudio_result_t flushStream(aaudio_handle_t streamHandle) = 0; 84 virtual aaudio_result_t registerAudioThread(aaudio_handle_t streamHandle, 88 virtual aaudio_result_t unregisterAudioThread(aaudio_handle_t streamHandle, 91 virtual aaudio_result_t startClient(aaudio_handle_t streamHandle, 95 virtual aaudio_result_t stopClient(aaudio_handle_t streamHandle,
|
D | IAAudioService.h | 57 virtual aaudio_result_t closeStream(aaudio::aaudio_handle_t streamHandle) = 0; 62 virtual aaudio_result_t getStreamDescription(aaudio::aaudio_handle_t streamHandle, 69 virtual aaudio_result_t startStream(aaudio::aaudio_handle_t streamHandle) = 0; 75 virtual aaudio_result_t pauseStream(aaudio::aaudio_handle_t streamHandle) = 0; 81 virtual aaudio_result_t stopStream(aaudio::aaudio_handle_t streamHandle) = 0; 87 virtual aaudio_result_t flushStream(aaudio::aaudio_handle_t streamHandle) = 0; 92 virtual aaudio_result_t registerAudioThread(aaudio::aaudio_handle_t streamHandle, 96 virtual aaudio_result_t unregisterAudioThread(aaudio::aaudio_handle_t streamHandle,
|
D | AAudioBinderClient.h | 61 aaudio_result_t closeStream(aaudio_handle_t streamHandle) override; 66 aaudio_result_t getStreamDescription(aaudio_handle_t streamHandle, 73 aaudio_result_t startStream(aaudio_handle_t streamHandle) override; 79 aaudio_result_t pauseStream(aaudio_handle_t streamHandle) override; 81 aaudio_result_t stopStream(aaudio_handle_t streamHandle) override; 87 aaudio_result_t flushStream(aaudio_handle_t streamHandle) override; 93 aaudio_result_t registerAudioThread(aaudio_handle_t streamHandle, 97 aaudio_result_t unregisterAudioThread(aaudio_handle_t streamHandle, 100 aaudio_result_t startClient(aaudio_handle_t streamHandle __unused, in startClient() 106 aaudio_result_t stopClient(aaudio_handle_t streamHandle __unused, in stopClient()
|
D | IAAudioService.cpp | 86 virtual aaudio_result_t closeStream(aaudio_handle_t streamHandle) override { in closeStream() 97 aaudio_result_t res; in closeStream() 102 virtual aaudio_result_t getStreamDescription(aaudio_handle_t streamHandle, in getStreamDescription() 114 aaudio_result_t result; in getStreamDescription() 132 virtual aaudio_result_t startStream(aaudio_handle_t streamHandle) override { in startStream() 142 aaudio_result_t res; in startStream() 147 virtual aaudio_result_t pauseStream(aaudio_handle_t streamHandle) override { in pauseStream() 157 aaudio_result_t res; in pauseStream() 162 virtual aaudio_result_t stopStream(aaudio_handle_t streamHandle) override { in stopStream() 172 aaudio_result_t res; in stopStream() [all …]
|
/frameworks/av/media/libaaudio/src/legacy/ |
D | AudioStreamTrack.h | 43 aaudio_result_t open(const AudioStreamBuilder & builder) override; 44 aaudio_result_t close() override; 46 aaudio_result_t requestStart() override; 47 aaudio_result_t requestPause() override; 48 aaudio_result_t requestFlush() override; 49 aaudio_result_t requestStop() override; 61 aaudio_result_t getTimestamp(clockid_t clockId, 65 aaudio_result_t write(const void *buffer, 69 aaudio_result_t setBufferSize(int32_t requestedFrames) override; 81 aaudio_result_t updateStateMachine() override;
|
D | AudioStreamRecord.h | 40 aaudio_result_t open(const AudioStreamBuilder & builder) override; 41 aaudio_result_t close() override; 43 aaudio_result_t requestStart() override; 44 aaudio_result_t requestStop() override; 46 virtual aaudio_result_t getTimestamp(clockid_t clockId, 50 aaudio_result_t read(void *buffer, 54 aaudio_result_t setBufferSize(int32_t requestedFrames) override; 66 aaudio_result_t updateStateMachine() override;
|
/frameworks/av/media/libaaudio/examples/utils/ |
D | AAudioSimpleRecorder.h | 100 aaudio_result_t open(const AAudioParameters ¶meters, 104 aaudio_result_t result = AAUDIO_OK; 144 aaudio_result_t open(int channelCount, int sampSampleRate, aaudio_format_t format, in open() 148 aaudio_result_t result = AAUDIO_OK; in open() 179 aaudio_result_t close() { in close() 188 aaudio_result_t prime() { in prime() 193 aaudio_result_t result = numFrames; in prime() 201 aaudio_result_t start() { in start() 202 aaudio_result_t result = AAudioStream_requestStart(mStream); in start() 213 aaudio_result_t stop() { in stop() [all …]
|
D | AAudioSimplePlayer.h | 94 aaudio_result_t open(const AAudioParameters ¶meters, 98 aaudio_result_t result = AAUDIO_OK; 132 aaudio_result_t open(int channelCount, int sampSampleRate, aaudio_format_t format, in open() 136 aaudio_result_t result = AAUDIO_OK; in open() 168 aaudio_result_t close() { in close() 177 aaudio_result_t prime() { in prime() 182 aaudio_result_t result = numFrames; in prime() 190 aaudio_result_t start() { in start() 191 aaudio_result_t result = AAudioStream_requestStart(mStream); in start() 200 aaudio_result_t stop() { in stop() [all …]
|
/frameworks/av/media/libaaudio/include/aaudio/ |
D | AAudio.h | 171 typedef int32_t aaudio_result_t; typedef 477 AAUDIO_API const char * AAudio_convertResultToText(aaudio_result_t returnCode) __INTRODUCED_IN(26); 506 AAUDIO_API aaudio_result_t AAudio_createStreamBuilder(AAudioStreamBuilder** builder) 890 aaudio_result_t error); 926 AAUDIO_API aaudio_result_t AAudioStreamBuilder_openStream(AAudioStreamBuilder* builder, 935 AAUDIO_API aaudio_result_t AAudioStreamBuilder_delete(AAudioStreamBuilder* builder) 948 AAUDIO_API aaudio_result_t AAudioStream_close(AAudioStream* stream) __INTRODUCED_IN(26); 960 AAUDIO_API aaudio_result_t AAudioStream_requestStart(AAudioStream* stream) __INTRODUCED_IN(26); 975 AAUDIO_API aaudio_result_t AAudioStream_requestPause(AAudioStream* stream) __INTRODUCED_IN(26); 990 AAUDIO_API aaudio_result_t AAudioStream_requestFlush(AAudioStream* stream) __INTRODUCED_IN(26); [all …]
|