/external/oboe/src/common/ |
D | AudioStream.cpp | 31 AudioStream::AudioStream(const AudioStreamBuilder &builder) in AudioStream() function in oboe::AudioStream 35 Result AudioStream::close() { in close() 43 void AudioStream::checkScheduler() { in checkScheduler() 55 DataCallbackResult AudioStream::fireDataCallback(void *audioData, int32_t numFrames) { in fireDataCallback() 74 Result AudioStream::waitForStateTransition(StreamState startingState, in waitForStateTransition() 105 Result AudioStream::start(int64_t timeoutNanoseconds) in start() 114 Result AudioStream::pause(int64_t timeoutNanoseconds) in pause() 123 Result AudioStream::flush(int64_t timeoutNanoseconds) in flush() 132 Result AudioStream::stop(int64_t timeoutNanoseconds) in stop() 141 int32_t AudioStream::getBytesPerSample() const { in getBytesPerSample() [all …]
|
D | FilterAudioStream.h | 30 class FilterAudioStream : public AudioStream, AudioStreamCallback { 41 FilterAudioStream(const AudioStreamBuilder &builder, AudioStream *childStream) in FilterAudioStream() 42 : AudioStream(builder) in FilterAudioStream() 63 AudioStream *getChildStream() const { in getChildStream() 72 const Result result2 = AudioStream::close(); in close() 183 DataCallbackResult onAudioReady(AudioStream *oboeStream, 187 bool onError(AudioStream * audioStream, Result error) override { in onError() 194 void onErrorBeforeClose(AudioStream *oboeStream, Result error) override { in onErrorBeforeClose() 200 void onErrorAfterClose(AudioStream *oboeStream, Result error) override { in onErrorAfterClose() 202 AudioStream::close(); in onErrorAfterClose() [all …]
|
D | AudioStreamBuilder.cpp | 67 AudioStream *AudioStreamBuilder::build() { in build() 68 AudioStream *stream = nullptr; in build() 91 Result AudioStreamBuilder::openStream(AudioStream **streamPP) { in openStream() 105 AudioStream *streamP = nullptr; in openStream() 113 AudioStream *tempStream; in openStream() 148 streamP = static_cast<AudioStream *>(filterStream); in openStream() 209 AudioStream *streamptr; in openManagedStream() 215 Result AudioStreamBuilder::openStream(std::shared_ptr<AudioStream> &sharedStream) { in openStream() 221 AudioStream *streamptr; in openStream()
|
D | AudioSourceCaller.h | 29 class AudioStream; variable 47 void setStream(oboe::AudioStream *stream) { in setStream() 51 oboe::AudioStream *getStream() { in getStream() 76 oboe::AudioStream *mStream = nullptr;
|
D | DataConversionFlowGraph.h | 34 class AudioStream; variable 57 oboe::Result configure(oboe::AudioStream *sourceStream, oboe::AudioStream *sinkStream); 81 AudioStream *mFilterStream = nullptr;
|
D | QuirksManager.h | 61 static bool isMMapUsed(AudioStream &stream) { in isMMapUsed() 71 virtual int32_t clipBufferSize(AudioStream &stream, int32_t bufferSize) { in clipBufferSize() 86 int32_t clipBufferSize(AudioStream &stream, int32_t requestedSize);
|
D | FilterAudioStream.cpp | 48 AudioStream *sourceStream = isOutput ? this : mChildStream.get(); in configureFlowGraph() 49 AudioStream *sinkStream = isOutput ? mChildStream.get() : this; in configureFlowGraph() 94 DataCallbackResult FilterAudioStream::onAudioReady(AudioStream *oboeStream, in onAudioReady()
|
/external/oboe/samples/LiveEffect/src/main/cpp/ |
D | FullDuplexStream.h | 30 void setInputStream(std::shared_ptr<oboe::AudioStream> stream) { in setInputStream() 34 void setOutputStream(std::shared_ptr<oboe::AudioStream> stream) { in setOutputStream() 47 std::shared_ptr<oboe::AudioStream> inputStream, 50 std::shared_ptr<oboe::AudioStream> outputStream, 60 oboe::AudioStream *audioStream, 94 std::shared_ptr<oboe::AudioStream> mInputStream; 95 std::shared_ptr<oboe::AudioStream> mOutputStream;
|
D | LiveEffectEngine.h | 42 oboe::DataCallbackResult onAudioReady(oboe::AudioStream *oboeStream, 48 void onErrorBeforeClose(oboe::AudioStream *oboeStream, oboe::Result error) override; 49 void onErrorAfterClose(oboe::AudioStream *oboeStream, oboe::Result error) override; 65 std::shared_ptr<oboe::AudioStream> mRecordingStream; 66 std::shared_ptr<oboe::AudioStream> mPlayStream; 72 void closeStream(std::shared_ptr<oboe::AudioStream> &stream); 80 void warnIfNotLowLatency(std::shared_ptr<oboe::AudioStream> &stream);
|
D | LiveEffectEngine.cpp | 170 void LiveEffectEngine::closeStream(std::shared_ptr<oboe::AudioStream> &stream) { in closeStream() 191 void LiveEffectEngine::warnIfNotLowLatency(std::shared_ptr<oboe::AudioStream> &stream) { in warnIfNotLowLatency() 209 oboe::AudioStream *oboeStream, void *audioData, int32_t numFrames) { in onAudioReady() 219 void LiveEffectEngine::onErrorBeforeClose(oboe::AudioStream *oboeStream, in onErrorBeforeClose() 232 void LiveEffectEngine::onErrorAfterClose(oboe::AudioStream *oboeStream, in onErrorAfterClose()
|
/external/oboe/apps/OboeTester/app/src/main/cpp/ |
D | FullDuplexStream.h | 30 void setInputStream(oboe::AudioStream *stream) { in setInputStream() 34 oboe::AudioStream *getInputStream() { in getInputStream() 38 void setOutputStream(oboe::AudioStream *stream) { in setOutputStream() 41 oboe::AudioStream *getOutputStream() { in getOutputStream() 64 oboe::AudioStream *audioStream, 107 oboe::AudioStream *mInputStream = nullptr; 108 oboe::AudioStream *mOutputStream = nullptr;
|
D | NativeAudioContext.cpp | 61 std::shared_ptr<oboe::AudioStream> ActivityContext::getOutputStream() { in getOutputStream() 63 std::shared_ptr<oboe::AudioStream> oboeStream = entry.second; in getOutputStream() 71 std::shared_ptr<oboe::AudioStream> ActivityContext::getInputStream() { in getInputStream() 73 std::shared_ptr<oboe::AudioStream> oboeStream = entry.second; in getInputStream() 94 std::shared_ptr<oboe::AudioStream> oboeStream = getStream(streamIndex); in close() 103 std::shared_ptr<oboe::AudioStream> oboeStream = getStream(streamIndex); in isMMapUsed() 113 std::shared_ptr<oboe::AudioStream> oboeStream = entry.second; in pause() 123 std::shared_ptr<oboe::AudioStream> oboeStream = entry.second; in stopAllStreams() 208 std::shared_ptr<oboe::AudioStream> oboeStream; in open() 236 std::shared_ptr<oboe::AudioStream> inputStream = getInputStream(); in start() [all …]
|
D | NativeAudioContext.h | 82 std::shared_ptr<oboe::AudioStream> getStream(int32_t streamIndex) { in getStream() 198 std::shared_ptr<oboe::AudioStream> oboeStream = getInputStream(); in getColdStartInputMillis() 214 std::shared_ptr<oboe::AudioStream> oboeStream = getOutputStream(); in getColdStartOutputMillis() 248 std::shared_ptr<oboe::AudioStream> stream = getOutputStream(); in getLastErrorCallbackResult() 273 std::shared_ptr<oboe::AudioStream> getInputStream(); 274 std::shared_ptr<oboe::AudioStream> getOutputStream(); 283 virtual void finishOpen(bool isInput, oboe::AudioStream *oboeStream) {} in finishOpen() 295 std::unordered_map<int32_t, std::shared_ptr<oboe::AudioStream>> mOboeStreams; 368 oboe::AudioStream *playbackStream = nullptr; 498 void finishOpen(bool isInput, oboe::AudioStream *oboeStream) override; [all …]
|
D | jni-bridge.cpp | 182 …std::shared_ptr<oboe::AudioStream> oboeStream = engine.getCurrentActivity()->getStream(streamIndex… in Java_com_google_sample_oboe_manualtest_OboeAudioStream_setBufferSizeInFrames() 196 …std::shared_ptr<oboe::AudioStream> oboeStream = engine.getCurrentActivity()->getStream(streamIndex… in Java_com_google_sample_oboe_manualtest_OboeAudioStream_getBufferSizeInFrames() 207 …std::shared_ptr<oboe::AudioStream> oboeStream = engine.getCurrentActivity()->getStream(streamIndex… in Java_com_google_sample_oboe_manualtest_OboeAudioStream_getBufferCapacityInFrames() 231 …std::shared_ptr<oboe::AudioStream> oboeStream = engine.getCurrentActivity()->getStream(streamIndex… in Java_com_google_sample_oboe_manualtest_OboeAudioStream_getNativeApi() 244 …std::shared_ptr<oboe::AudioStream> oboeStream = engine.getCurrentActivity()->getStream(streamIndex… in Java_com_google_sample_oboe_manualtest_OboeAudioStream_getSampleRate() 255 …std::shared_ptr<oboe::AudioStream> oboeStream = engine.getCurrentActivity()->getStream(streamIndex… in Java_com_google_sample_oboe_manualtest_OboeAudioStream_getSharingMode() 266 …std::shared_ptr<oboe::AudioStream> oboeStream = engine.getCurrentActivity()->getStream(streamIndex… in Java_com_google_sample_oboe_manualtest_OboeAudioStream_getPerformanceMode() 277 …std::shared_ptr<oboe::AudioStream> oboeStream = engine.getCurrentActivity()->getStream(streamIndex… in Java_com_google_sample_oboe_manualtest_OboeAudioStream_getInputPreset() 288 …std::shared_ptr<oboe::AudioStream> oboeStream = engine.getCurrentActivity()->getStream(streamIndex… in Java_com_google_sample_oboe_manualtest_OboeAudioStream_getFramesPerBurst() 299 …std::shared_ptr<oboe::AudioStream> oboeStream = engine.getCurrentActivity()->getStream(streamIndex… in Java_com_google_sample_oboe_manualtest_OboeAudioStream_getChannelCount() [all …]
|
/external/oboe/include/oboe/ |
D | AudioStreamCallback.h | 24 class AudioStream; variable 85 AudioStream *audioStream, 127 virtual bool onError(AudioStream* /* audioStream */, Result /* error */) { in onError() argument 147 virtual void onErrorBeforeClose(AudioStream* /* audioStream */, Result /* error */) {} in onErrorBeforeClose() argument 163 virtual void onErrorAfterClose(AudioStream* /* audioStream */, Result /* error */) {} in onErrorAfterClose() argument
|
D | AudioStream.h | 44 class AudioStream : public AudioStreamBase { 48 AudioStream() {} in AudioStream() function 55 explicit AudioStream(const AudioStreamBuilder &builder); 57 virtual ~AudioStream() = default; 507 void setWeakThis(std::shared_ptr<oboe::AudioStream> &sharedStream) { in setWeakThis() 514 std::shared_ptr<oboe::AudioStream> lockWeakThis() { in lockWeakThis() 518 std::weak_ptr<AudioStream> mWeakThis; // weak pointer to this object 556 void operator()(AudioStream *audioStream) { in operator()
|
D | StabilizedCallback.h | 31 onAudioReady(AudioStream *oboeStream, void *audioData, int32_t numFrames) override; 33 void onErrorBeforeClose(AudioStream *oboeStream, Result error) override { in onErrorBeforeClose() 37 void onErrorAfterClose(AudioStream *oboeStream, Result error) override { in onErrorAfterClose()
|
D | LatencyTuner.h | 49 explicit LatencyTuner(AudioStream &stream); 57 explicit LatencyTuner(AudioStream &stream, int32_t maximumBufferSize); 137 AudioStream &mStream;
|
D | AudioStreamBuilder.h | 28 using ManagedStream = std::unique_ptr<AudioStream, StreamDeleterFunctor>; 439 Result openStream(AudioStream **stream); 451 Result openStream(std::shared_ptr<oboe::AudioStream> &stream); 481 oboe::AudioStream *build();
|
/external/oboe/docs/ |
D | ChangeLog.md | 10 - [Remove `AudioStream::setNativeFormat`](https://github.com/google/oboe/pull/213/commits/0e8af6a65… 11 - [Remove `AudioStream::isPlaying`](https://github.com/google/oboe/pull/213/commits/6437f5aa224330f… 12 - [Add `AudioStream::getTimestamp(clockid_t)`](https://github.com/google/oboe/pull/213/commits/ab69… 13 - Deprecate `AudioStream::getTimestamp(clockid_t, int64_t, int64_t)`. Same commit as above. 22 Change `AudioStream` method return types to `ResultWithValue` where appropriate. [Full details](htt…
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowAudioManager.java | 42 private HashMap<Integer, AudioStream> streamStatus = new HashMap<>(); 55 streamStatus.put(stream, new AudioStream(DEFAULT_VOLUME, DEFAULT_MAX_VOLUME, FLAG_NO_ACTION)); in ShadowAudioManager() 63 AudioStream stream = streamStatus.get(streamType); in getStreamMaxVolume() 69 AudioStream stream = streamStatus.get(streamType); in getStreamVolume() 75 AudioStream stream = streamStatus.get(streamType); in setStreamVolume() 147 for (Map.Entry<Integer, AudioStream> entry : streamStatus.entrySet()) { in setStreamMaxVolume() 153 for (Map.Entry<Integer, AudioStream> entry : streamStatus.entrySet()) { in setStreamVolume() 288 private static class AudioStream { class in ShadowAudioManager 293 public AudioStream(int currVol, int maxVol, int flag) { in AudioStream() method in ShadowAudioManager.AudioStream
|
/external/oboe/samples/iolib/src/main/cpp/player/ |
D | SimpleMultiPlayer.h | 39 oboe::DataCallbackResult onAudioReady(oboe::AudioStream *oboeStream, void *audioData, 41 virtual void onErrorAfterClose(oboe::AudioStream *oboeStream, oboe::Result error) override; 42 virtual void onErrorBeforeClose(oboe::AudioStream * oboeStream, oboe::Result error) override; 81 std::shared_ptr<oboe::AudioStream> mAudioStream;
|
/external/oboe/samples/hello-oboe/src/main/cpp/ |
D | LatencyTuningCallback.h | 53 …oboe::DataCallbackResult onAudioReady(oboe::AudioStream *oboeStream, void *audioData, int32_t numF… 57 void useStream(std::shared_ptr<oboe::AudioStream> stream); 64 oboe::AudioStream *mStream = nullptr;
|
/external/oboe/apps/fxlab/app/src/main/cpp/ |
D | DuplexCallback.h | 31 DuplexCallback(oboe::AudioStream &inStream, in DuplexCallback() 38 onAudioReady(oboe::AudioStream *outputStream, void *audioData, int32_t numFrames) override { in onAudioReady() 63 void onErrorAfterClose(oboe::AudioStream *, oboe::Result result) override { in onErrorAfterClose() argument 74 oboe::AudioStream &inRef;
|
/external/oboe/samples/RhythmGame/src/main/cpp/ |
D | Game.h | 56 onAudioReady(AudioStream *oboeStream, void *audioData, int32_t numFrames) override; 59 void onErrorAfterClose(AudioStream *oboeStream, Result error) override; 63 std::shared_ptr<AudioStream> mAudioStream;
|