Home
last modified time | relevance | path

Searched refs:getChannelCount (Results 1 – 25 of 38) sorted by relevance

12

/third_party/skia/third_party/externals/oboe/src/flowgraph/resampler/
DMultiChannelResampler.cpp32 , mX(builder.getChannelCount() * builder.getNumTaps() * 2) in MultiChannelResampler()
33 , mSingleFrame(builder.getChannelCount()) in MultiChannelResampler()
34 , mChannelCount(builder.getChannelCount()) in MultiChannelResampler()
90 if (getChannelCount() == 1) { in build()
92 } else if (getChannelCount() == 2) { in build()
100 if (getChannelCount() == 2) { in build()
113 float *dest = &mX[mCursor * getChannelCount()]; in writeFrame()
114 int offset = getNumTaps() * getChannelCount(); in writeFrame()
115 for (int channel = 0; channel < getChannelCount(); channel++) { in writeFrame()
DLinearResampler.cpp23 mPreviousFrame = std::make_unique<float[]>(getChannelCount()); in LinearResampler()
24 mCurrentFrame = std::make_unique<float[]>(getChannelCount()); in LinearResampler()
28 memcpy(mPreviousFrame.get(), mCurrentFrame.get(), sizeof(float) * getChannelCount()); in writeFrame()
29 memcpy(mCurrentFrame.get(), frame, sizeof(float) * getChannelCount()); in writeFrame()
37 for (int channel = 0; channel < getChannelCount(); channel++) { in readFrame()
DSincResampler.cpp24 , mSingleFrame2(builder.getChannelCount()) { in SincResampler()
58 float *xFrame = &mX[mCursor * getChannelCount()]; in readFrame()
62 for (int channel = 0; channel < getChannelCount(); channel++) { in readFrame()
71 for (int channel = 0; channel < getChannelCount(); channel++) { in readFrame()
DSincResamplerStereo.cpp27 assert(builder.getChannelCount() == STEREO); in SincResamplerStereo()
62 float *xFrame = &mX[mCursor * getChannelCount()]; in readFrame()
66 for (int channel = 0; channel < getChannelCount(); channel++) { in readFrame()
75 for (int channel = 0; channel < getChannelCount(); channel++) { in readFrame()
DPolyphaseResampler.cpp45 float *xFrame = &mX[mCursor * getChannelCount()]; in readFrame()
49 for (int channel = 0; channel < getChannelCount(); channel++) { in readFrame()
58 for (int channel = 0; channel < getChannelCount(); channel++) { in readFrame()
DMultiChannelResampler.h124 int32_t getChannelCount() const { in getChannelCount() function
192 int getChannelCount() const { in getChannelCount() function
DPolyphaseResamplerMono.cpp25 assert(builder.getChannelCount() == MONO); in PolyphaseResamplerMono()
DPolyphaseResamplerStereo.cpp25 assert(builder.getChannelCount() == STEREO); in PolyphaseResamplerStereo()
/third_party/skia/third_party/externals/oboe/apps/OboeTester/app/src/main/java/com/google/sample/oboe/manualtest/
DOboeAudioStream.java61 requestedConfiguration.getChannelCount(), in open()
88 actualConfiguration.setChannelCount(getChannelCount()); in open()
183 public int getChannelCount() { in getChannelCount() method in OboeAudioStream
184 return getChannelCount(streamIndex); in getChannelCount()
186 public native int getChannelCount(int streamIndex); in getChannelCount() method in OboeAudioStream
DAudioStreamBase.java131 public int getChannelCount() { in getChannelCount() method in AudioStreamBase
132 return mActualStreamConfiguration.getChannelCount(); in getChannelCount()
/third_party/skia/third_party/externals/oboe/src/common/
DAudioStreamBuilder.cpp86 … && (getChannelCount() == oboe::Unspecified || getChannelCount() == other.getChannelCount()); in isCompatible()
128 if (getChannelCount() == oboe::Unspecified) { in openStream()
129 parentBuilder.setChannelCount(tempStream->getChannelCount()); in openStream()
DQuirksManager.cpp66 && builder.getChannelCount() <= kChannelCountStereo; in isAAudioMMapPossible()
176 && builder.getChannelCount() == kChannelCountStereo in isConversionNeeded()
187 && builder.getChannelCount() == kChannelCountMono in isConversionNeeded()
DDataConversionFlowGraph.cpp83 int32_t sourceChannelCount = sourceStream->getChannelCount(); in configure()
88 int32_t sinkChannelCount = sinkStream->getChannelCount(); in configure()
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/src/main/cpp/
DGame.cpp135 mMixer.renderAudio(outputBuffer+(oboeStream->getChannelCount()*i), 1); in onAudioReady()
142 numFrames * oboeStream->getChannelCount()); in onAudioReady()
191 mAudioStream->getChannelCount()); in openStream()
201 mMixer.setChannelCount(mAudioStream->getChannelCount()); in openStream()
210 .channelCount = mAudioStream->getChannelCount(), in setupAudioSources()
/third_party/skia/modules/audioplayer/
DSkAudioPlayer_oboe.cpp73 return fNumSampleFrames * fStream->getChannelCount() / fStream->getSampleRate(); in onGetDuration()
77 return (fReadFrameIndex * fStream->getChannelCount()) / fStream->getSampleRate(); in onGetTime()
81 fReadFrameIndex = (t * fStream->getSampleRate()) / fStream->getChannelCount(); in onSetTime()
/third_party/skia/third_party/externals/oboe/apps/OboeTester/app/src/main/cpp/
DFullDuplexEcho.cpp40 int32_t inputStride = getInputStream()->getChannelCount(); in onBothStreamsReady()
41 int32_t outputStride = getOutputStream()->getChannelCount(); in onBothStreamsReady()
DFullDuplexAnalyzer.cpp32 int32_t inputStride = getInputStream()->getChannelCount(); in onBothStreamsReady()
33 int32_t outputStride = getOutputStream()->getChannelCount(); in onBothStreamsReady()
DNativeAudioContext.cpp210 mChannelCount = oboeStream->getChannelCount(); // FIXME store per stream in open()
263 writer.setSamplesPerFrame(mRecording->getChannelCount()); in saveWaveFile()
265 float buffer[mRecording->getChannelCount()]; in saveWaveFile()
270 for (int32_t i = 0; i < mRecording->getChannelCount(); i++) { in saveWaveFile()
DInputStreamCallbackAnalyzer.cpp24 int32_t channelCount = audioStream->getChannelCount(); in onAudioReady()
DMultiChannelRecording.h52 int32_t getChannelCount() { in getChannelCount() function
/third_party/skia/third_party/externals/oboe/samples/hello-oboe/src/main/cpp/
DHelloOboeEngine.cpp141 mStream->getChannelCount()); in start()
149 mStream->getChannelCount(), in start()
/third_party/skia/third_party/externals/oboe/samples/MegaDrone/src/main/cpp/
DMegaDroneEngine.cpp77 … mAudioSource = std::make_shared<Synth>(mStream->getSampleRate(), mStream->getChannelCount()); in start()
/third_party/skia/third_party/externals/oboe/apps/fxlab/app/src/main/cpp/
DDuplexCallback.h40 auto outputChannelCount = outputStream->getChannelCount(); in onAudioReady()
/third_party/skia/third_party/externals/oboe/include/oboe/
DAudioStreamBase.h52 int32_t getChannelCount() const { return mChannelCount; } in getChannelCount() function
/third_party/skia/third_party/externals/oboe/samples/LiveEffect/src/main/cpp/
DFullDuplexStream.cpp94 * getOutputStream()->getChannelCount(); in start()

12