Home
last modified time | relevance | path

Searched refs:AudioStream (Results 1 – 25 of 61) sorted by relevance

123

/third_party/skia/third_party/externals/oboe/src/common/
DAudioStream.cpp31 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 …]
DFilterAudioStream.h30 class FilterAudioStream : public AudioStream, AudioStreamCallback {
41 FilterAudioStream(const AudioStreamBuilder &builder, AudioStream *childStream) in FilterAudioStream()
42 : AudioStream(builder) in FilterAudioStream()
59 AudioStream *getChildStream() const { in getChildStream()
68 const Result result2 = AudioStream::close(); in close()
176 DataCallbackResult onAudioReady(AudioStream *oboeStream, in onAudioReady()
190 void onErrorBeforeClose(AudioStream *oboeStream, Result error) override { in onErrorBeforeClose()
196 void onErrorAfterClose(AudioStream *oboeStream, Result error) override { in onErrorAfterClose()
198 AudioStream::close(); in onErrorAfterClose()
206 std::unique_ptr<AudioStream> mChildStream; // this stream wraps the child stream
DAudioStreamBuilder.cpp65 AudioStream *AudioStreamBuilder::build() { in build()
66 AudioStream *stream = nullptr; in build()
89 Result AudioStreamBuilder::openStream(AudioStream **streamPP) { in openStream()
103 AudioStream *streamP = nullptr; in openStream()
111 AudioStream *tempStream; in openStream()
147 streamP = static_cast<AudioStream *>(filterStream); in openStream()
195 AudioStream *streamptr; in openManagedStream()
201 Result AudioStreamBuilder::openStream(std::shared_ptr<AudioStream> &sharedStream) { in openStream()
207 AudioStream *streamptr; in openStream()
DAudioSourceCaller.h29 class AudioStream; variable
47 void setStream(oboe::AudioStream *stream) { in setStream()
51 oboe::AudioStream *getStream() { in getStream()
76 oboe::AudioStream *mStream = nullptr;
DDataConversionFlowGraph.h34 class AudioStream; variable
57 oboe::Result configure(oboe::AudioStream *sourceStream, oboe::AudioStream *sinkStream);
81 AudioStream *mFilterStream = nullptr;
DQuirksManager.h57 static bool isMMapUsed(AudioStream &stream) { in isMMapUsed()
67 virtual int32_t clipBufferSize(AudioStream &stream, int32_t bufferSize) { in clipBufferSize()
82 int32_t clipBufferSize(AudioStream &stream, int32_t requestedSize);
/third_party/skia/third_party/externals/oboe/samples/LiveEffect/src/main/cpp/
DFullDuplexStream.h30 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()
65 oboe::AudioStream *audioStream,
99 oboe::AudioStream *mInputStream = nullptr;
100 oboe::AudioStream *mOutputStream = nullptr;
DLiveEffectEngine.h41 oboe::DataCallbackResult onAudioReady(oboe::AudioStream *oboeStream,
43 void onErrorBeforeClose(oboe::AudioStream *oboeStream, oboe::Result error) override;
44 void onErrorAfterClose(oboe::AudioStream *oboeStream, oboe::Result error) override;
59 std::shared_ptr<oboe::AudioStream> mRecordingStream;
60 std::shared_ptr<oboe::AudioStream> mPlayStream;
65 void closeStream(std::shared_ptr<oboe::AudioStream> &stream);
73 void warnIfNotLowLatency(std::shared_ptr<oboe::AudioStream> &stream);
DLiveEffectEngine.cpp169 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()
/third_party/skia/third_party/externals/oboe/apps/OboeTester/app/src/main/cpp/
DFullDuplexStream.h30 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;
DNativeAudioContext.cpp60 oboe::AudioStream * ActivityContext::getOutputStream() { in getOutputStream()
62 oboe::AudioStream *oboeStream = entry.second.get(); in getOutputStream()
70 oboe::AudioStream * ActivityContext::getInputStream() { in getInputStream()
72 oboe::AudioStream *oboeStream = entry.second.get(); in getInputStream()
93 oboe::AudioStream *oboeStream = getStream(streamIndex); in close()
102 oboe::AudioStream *oboeStream = getStream(streamIndex); in isMMapUsed()
112 oboe::AudioStream *oboeStream = entry.second.get(); in pause()
122 oboe::AudioStream *oboeStream = entry.second.get(); in stopAllStreams()
201 std::shared_ptr<oboe::AudioStream> oboeStream; in open()
229 oboe::AudioStream *inputStream = getInputStream(); in start()
[all …]
Djni-bridge.cpp182 oboe::AudioStream *oboeStream = engine.getCurrentActivity()->getStream(streamIndex); in Java_com_google_sample_oboe_manualtest_OboeAudioStream_setBufferSizeInFrames()
196 oboe::AudioStream *oboeStream = engine.getCurrentActivity()->getStream(streamIndex); in Java_com_google_sample_oboe_manualtest_OboeAudioStream_getBufferSizeInFrames()
207 oboe::AudioStream *oboeStream = engine.getCurrentActivity()->getStream(streamIndex); in Java_com_google_sample_oboe_manualtest_OboeAudioStream_getBufferCapacityInFrames()
231 oboe::AudioStream *oboeStream = engine.getCurrentActivity()->getStream(streamIndex); in Java_com_google_sample_oboe_manualtest_OboeAudioStream_getNativeApi()
244 oboe::AudioStream *oboeStream = engine.getCurrentActivity()->getStream(streamIndex); in Java_com_google_sample_oboe_manualtest_OboeAudioStream_getSampleRate()
255 oboe::AudioStream *oboeStream = engine.getCurrentActivity()->getStream(streamIndex); in Java_com_google_sample_oboe_manualtest_OboeAudioStream_getSharingMode()
266 oboe::AudioStream *oboeStream = engine.getCurrentActivity()->getStream(streamIndex); in Java_com_google_sample_oboe_manualtest_OboeAudioStream_getPerformanceMode()
277 oboe::AudioStream *oboeStream = engine.getCurrentActivity()->getStream(streamIndex); in Java_com_google_sample_oboe_manualtest_OboeAudioStream_getInputPreset()
288 oboe::AudioStream *oboeStream = engine.getCurrentActivity()->getStream(streamIndex); in Java_com_google_sample_oboe_manualtest_OboeAudioStream_getFramesPerBurst()
299 oboe::AudioStream *oboeStream = engine.getCurrentActivity()->getStream(streamIndex); in Java_com_google_sample_oboe_manualtest_OboeAudioStream_getChannelCount()
[all …]
DNativeAudioContext.h99 bool isMMapUsed(oboe::AudioStream *oboeStream) { in isMMapUsed()
197 oboe::AudioStream *getStream(int32_t streamIndex) { in getStream()
303 oboe::AudioStream *getInputStream();
304 oboe::AudioStream *getOutputStream();
313 virtual void finishOpen(bool isInput, oboe::AudioStream *oboeStream) {} in finishOpen()
325 std::unordered_map<int32_t, std::shared_ptr<oboe::AudioStream>> mOboeStreams;
396 oboe::AudioStream *playbackStream = nullptr;
526 void finishOpen(bool isInput, oboe::AudioStream *oboeStream) override;
563 void finishOpen(bool isInput, oboe::AudioStream *oboeStream) override;
601 void finishOpen(bool isInput, oboe::AudioStream *oboeStream) override;
[all …]
DOboeStreamCallbackProxy.h53 oboe::AudioStream *audioStream,
57 void onErrorBeforeClose(oboe::AudioStream *audioStream, oboe::Result error) override;
59 void onErrorAfterClose(oboe::AudioStream *audioStream, oboe::Result error) override;
DOboeStreamCallbackProxy.cpp55 oboe::AudioStream *audioStream, in onAudioReady()
83 void OboeStreamCallbackProxy::onErrorBeforeClose(oboe::AudioStream *audioStream, oboe::Result error… in onErrorBeforeClose()
90 void OboeStreamCallbackProxy::onErrorAfterClose(oboe::AudioStream *audioStream, oboe::Result error… in onErrorAfterClose()
/third_party/skia/third_party/externals/oboe/include/oboe/
DAudioStream.h44 class AudioStream : public AudioStreamBase {
48 AudioStream() {} in AudioStream() function
55 explicit AudioStream(const AudioStreamBuilder &builder);
57 virtual ~AudioStream() = default;
487 void setWeakThis(std::shared_ptr<oboe::AudioStream> &sharedStream) { in setWeakThis()
494 std::shared_ptr<oboe::AudioStream> lockWeakThis() { in lockWeakThis()
498 std::weak_ptr<AudioStream> mWeakThis; // weak pointer to this object
534 void operator()(AudioStream *audioStream) { in operator()
DAudioStreamCallback.h24 class AudioStream; variable
84 AudioStream *oboeStream,
103 virtual void onErrorBeforeClose(AudioStream* /* oboeStream */, Result /* error */) {} in onErrorBeforeClose() argument
117 virtual void onErrorAfterClose(AudioStream* /* oboeStream */, Result /* error */) {} in onErrorAfterClose() argument
DStabilizedCallback.h31 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()
DLatencyTuner.h49 explicit LatencyTuner(AudioStream &stream);
57 explicit LatencyTuner(AudioStream &stream, int32_t maximumBufferSize);
137 AudioStream &mStream;
DAudioStreamBuilder.h28 using ManagedStream = std::unique_ptr<AudioStream, StreamDeleterFunctor>;
393 Result openStream(AudioStream **stream);
405 Result openStream(std::shared_ptr<oboe::AudioStream> &stream);
433 oboe::AudioStream *build();
/third_party/skia/third_party/externals/oboe/docs/
DChangeLog.md10 - [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…
/third_party/skia/third_party/externals/oboe/samples/iolib/src/main/cpp/player/
DSimpleMultiPlayer.h39 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;
/third_party/skia/third_party/externals/oboe/apps/fxlab/app/src/main/cpp/
DDuplexCallback.h31 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;
/third_party/skia/third_party/externals/oboe/samples/hello-oboe/src/main/cpp/
DLatencyTuningCallback.h53 …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;
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/src/main/cpp/
DGame.h56 onAudioReady(AudioStream *oboeStream, void *audioData, int32_t numFrames) override;
57 void onErrorAfterClose(AudioStream *oboeStream, Result error) override;
61 std::shared_ptr<AudioStream> mAudioStream;

123