Home
last modified time | relevance | path

Searched refs:AudioStreamBuilder (Results 1 – 25 of 39) sorted by relevance

12

/external/oboe/include/oboe/
DAudioStreamBuilder.h33 class AudioStreamBuilder : public AudioStreamBase {
36 AudioStreamBuilder() : AudioStreamBase() {} in AudioStreamBuilder() function
38 AudioStreamBuilder(const AudioStreamBase &audioStreamBase): AudioStreamBase(audioStreamBase) {} in AudioStreamBuilder() function
46 AudioStreamBuilder *setChannelCount(int channelCount) { in setChannelCount()
56 AudioStreamBuilder *setDirection(Direction direction) { in setDirection()
72 AudioStreamBuilder *setSampleRate(int32_t sampleRate) { in setSampleRate()
80 AudioStreamBuilder *setFramesPerCallback(int framesPerCallback) { in setFramesPerCallback()
98 AudioStreamBuilder *setFramesPerDataCallback(int framesPerCallback) { in setFramesPerDataCallback()
109 AudioStreamBuilder *setFormat(AudioFormat format) { in setFormat()
126 AudioStreamBuilder *setBufferCapacityInFrames(int32_t bufferCapacityInFrames) { in setBufferCapacityInFrames()
[all …]
DAudioStream.h45 friend class AudioStreamBuilder; // allow access to setWeakThis() and lockWeakThis() variable
55 explicit AudioStream(const AudioStreamBuilder &builder);
/external/oboe/src/common/
DAudioStreamBuilder.cpp56 bool AudioStreamBuilder::isAAudioSupported() { in isAAudioSupported()
60 bool AudioStreamBuilder::isAAudioRecommended() { in isAAudioRecommended()
67 AudioStream *AudioStreamBuilder::build() { in build()
84 bool AudioStreamBuilder::isCompatible(AudioStreamBase &other) { in isCompatible()
91 Result AudioStreamBuilder::openStream(AudioStream **streamPP) { in openStream()
108 AudioStreamBuilder childBuilder(*this); in openStream()
124 AudioStreamBuilder parentBuilder = *this; in openStream()
203 Result AudioStreamBuilder::openManagedStream(oboe::ManagedStream &stream) { in openManagedStream()
215 Result AudioStreamBuilder::openStream(std::shared_ptr<AudioStream> &sharedStream) { in openStream()
DQuirksManager.h59 bool isConversionNeeded(const AudioStreamBuilder &builder, AudioStreamBuilder &childBuilder);
103 virtual bool isAAudioMMapPossible(const AudioStreamBuilder &builder) const;
105 virtual bool isMMapSafe(const AudioStreamBuilder & /* builder */ ) { in isMMapSafe() argument
119 bool isMMapSafe(AudioStreamBuilder &builder);
DQuirksManager.cpp55 bool QuirksManager::DeviceQuirks::isAAudioMMapPossible(const AudioStreamBuilder &builder) const { in isAAudioMMapPossible()
94 bool isAAudioMMapPossible(const AudioStreamBuilder &builder) const override { in isAAudioMMapPossible()
100 bool isMMapSafe(const AudioStreamBuilder &builder) override { in isMMapSafe()
132 const AudioStreamBuilder &builder, in isConversionNeeded()
133 AudioStreamBuilder &childBuilder) { in isConversionNeeded()
219 bool QuirksManager::isMMapSafe(AudioStreamBuilder &builder) { in isMMapSafe()
DFilterAudioStream.h41 FilterAudioStream(const AudioStreamBuilder &builder, AudioStream *childStream) in FilterAudioStream()
/external/oboe/samples/LiveEffect/src/main/cpp/
DLiveEffectEngine.h74 oboe::AudioStreamBuilder *setupCommonStreamParameters(
75 oboe::AudioStreamBuilder *builder);
76 oboe::AudioStreamBuilder *setupRecordingStreamParameters(
77 oboe::AudioStreamBuilder *builder, int32_t sampleRate);
78 oboe::AudioStreamBuilder *setupPlaybackStreamParameters(
79 oboe::AudioStreamBuilder *builder);
DLiveEffectEngine.cpp35 oboe::AudioStreamBuilder builder; in isAAudioSupported()
85 oboe::AudioStreamBuilder inBuilder, outBuilder; in openStreams()
118 oboe::AudioStreamBuilder *LiveEffectEngine::setupRecordingStreamParameters( in setupRecordingStreamParameters()
119 oboe::AudioStreamBuilder *builder, int32_t sampleRate) { in setupRecordingStreamParameters()
134 oboe::AudioStreamBuilder *LiveEffectEngine::setupPlaybackStreamParameters( in setupPlaybackStreamParameters()
135 oboe::AudioStreamBuilder *builder) { in setupPlaybackStreamParameters()
150 oboe::AudioStreamBuilder *LiveEffectEngine::setupCommonStreamParameters( in setupCommonStreamParameters()
151 oboe::AudioStreamBuilder *builder) { in setupCommonStreamParameters()
/external/oboe/tests/
DtestStreamWaitState.cpp47 bool openStream(AudioStreamBuilder &builder) { in openStream()
117 AudioStreamBuilder mBuilder;
137 AudioStreamBuilder builder; in TEST_F()
146 AudioStreamBuilder builder; in TEST_F()
168 AudioStreamBuilder builder; in TEST_F()
177 AudioStreamBuilder builder; in TEST_F()
199 AudioStreamBuilder builder; in TEST_F()
233 AudioStreamBuilder builder; in TEST_F()
243 AudioStreamBuilder builder; in TEST_F()
DtestXRunBehaviour.cpp47 AudioStreamBuilder mBuilder;
/external/oboe/apps/OboeTester/app/src/main/cpp/
DNativeAudioContext.cpp129 void ActivityContext::configureBuilder(bool isInput, oboe::AudioStreamBuilder &builder) { in configureBuilder()
178 oboe::AudioStreamBuilder builder; in open()
487 oboe::AudioStreamBuilder builder; in startPlayback()
530 void ActivityFullDuplex::configureBuilder(bool isInput, oboe::AudioStreamBuilder &builder) { in configureBuilder()
543 void ActivityEcho::configureBuilder(bool isInput, oboe::AudioStreamBuilder &builder) { in configureBuilder()
564 void ActivityRoundTripLatency::configureBuilder(bool isInput, oboe::AudioStreamBuilder &builder) { in configureBuilder()
586 void ActivityGlitches::configureBuilder(bool isInput, oboe::AudioStreamBuilder &builder) { in configureBuilder()
608 void ActivityDataPath::configureBuilder(bool isInput, oboe::AudioStreamBuilder &builder) { in configureBuilder()
DNativeAudioContext.h91 virtual void configureBuilder(bool isInput, oboe::AudioStreamBuilder &builder);
452 void configureBuilder(bool isInput, oboe::AudioStreamBuilder &builder) override;
485 void configureBuilder(bool isInput, oboe::AudioStreamBuilder &builder) override;
515 void configureBuilder(bool isInput, oboe::AudioStreamBuilder &builder) override;
575 void configureBuilder(bool isInput, oboe::AudioStreamBuilder &builder) override;
615 void configureBuilder(bool isInput, oboe::AudioStreamBuilder &builder) override;
/external/oboe/apps/fxlab/app/src/main/cpp/
DDuplexEngine.cpp53 oboe::AudioStreamBuilder DuplexEngine::defaultBuilder() { in defaultBuilder()
54 return *oboe::AudioStreamBuilder() in defaultBuilder()
DDuplexEngine.h51 static oboe::AudioStreamBuilder defaultBuilder();
/external/oboe/docs/
DOpenSLESMigration.md25 …eateEngine`, to create other objects. Oboe's equivalent object is `AudioStreamBuilder`, although i…
44 <td><code>AudioStreamBuilder</code>
115 AudioStreamBuilder builder;
120 However, you may want to specify some properties. These are set using the `AudioStreamBuilder` ([ex…
163 … Replace your audio player or recorder with an `AudioStream` created using an `AudioStreamBuilder`.
DGettingStarted.md133 Streams are built using an `AudioStreamBuilder`. Create one like this:
135 oboe::AudioStreamBuilder builder;
148 oboe::AudioStreamBuilder builder;
259 oboe::AudioStreamBuilder builder;
/external/oboe/src/opensles/
DAudioInputStreamOpenSLES.h36 explicit AudioInputStreamOpenSLES(const AudioStreamBuilder &builder);
DAudioOutputStreamOpenSLES.h35 explicit AudioOutputStreamOpenSLES(const AudioStreamBuilder &builder);
DAudioStreamBuffered.h35 explicit AudioStreamBuffered(const AudioStreamBuilder &builder);
DAudioStreamOpenSLES.h48 explicit AudioStreamOpenSLES(const AudioStreamBuilder &builder);
/external/oboe/samples/MegaDrone/src/main/cpp/
DMegaDroneEngine.cpp55 oboe::AudioStreamBuilder builder; in createPlaybackStream()
/external/oboe/src/aaudio/
DAudioStreamAAudio.h40 explicit AudioStreamAAudio(const AudioStreamBuilder &builder);
/external/skia/modules/audioplayer/
DSkAudioPlayer_oboe.cpp30 oboe::AudioStreamBuilder builder; in OboeAudioPlayer()
/external/oboe/samples/hello-oboe/src/main/cpp/
DHelloOboeEngine.cpp115 oboe::AudioStreamBuilder builder; in createPlaybackStream()
/external/oboe/samples/iolib/src/main/cpp/player/
DSimpleMultiPlayer.cpp80 AudioStreamBuilder builder; in openStream()

12