Home
last modified time | relevance | path

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

123

/external/drrickorang/LoopbackApp/app/src/main/cpp/lb2/
Daudio_buffer.h38 int getChannelCount() const { return mChannelCount; } in getChannelCount() function
68 return mData + offsetInFrames * CountsConverter<T>::getChannelCount(); in getFrameAt()
89 getFrameAt(offsetInFrames), lengthInFrames, CountsConverter<T>::getChannelCount()); in getView()
137 : AudioBufferBase<T>(b.getData(), b.getFrameCount(), b.getChannelCount()) {} in AudioBufferView()
152 if (src.getChannelCount() != dst.getChannelCount()) { in convertAudioBufferViewType()
154 src.getChannelCount(), dst.getChannelCount()); in convertAudioBufferViewType()
158 (long long)src.getSampleCount(), (long long)dst.getChannelCount()); in convertAudioBufferViewType()
172 ++i, srcData += src.getChannelCount(), dstData += dst.getChannelCount()) { in forEachFrame()
200 const int srcFrameCopies = wholeMultiplier(dst.getChannelCount(), src.getChannelCount()); in fillCopyAudioBufferViewData()
202 T srcFramePatch[srcFrameCopies * src.getChannelCount()]; in fillCopyAudioBufferViewData()
[all …]
Dsound_system_aaudio.cpp35 int getChannelCount() const { return mChannelCount; } in getChannelCount() function in __anone6a372e40111::Stream
307 numFrames, self->mStream->getChannelCount())); in aaudioDataCallback()
376 builder->setChannelCount(testCtx->getChannelCount()); in init()
380 if (mStream->getChannelCount() != mTestCtx->getChannelCount()) { in init()
382 mTestCtx->getFrameCount(), mStream->getChannelCount())); in init()
390 AudioBuffer<sample_t> drainBuffer(mStream->getFramesPerBurst(), mStream->getChannelCount()); in drain()
Dloopback_test.cpp32 mRecordingFifoData(new sample_t[RECORDING_FIFO_FRAMES * testCtx->getChannelCount()]) { in LoopbackTest()
71 return framesRead * mTestCtx->getChannelCount(); in collectRecording()
175 framesRead, mTestCtx->getChannelCount()); in writeCallback()
Dtest_context.cpp28 for (int j = 0; j < getChannelCount(); ++j) { in getNextImpulse()
/external/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()
DSincResamplerStereo.cpp28 assert(builder.getChannelCount() == STEREO); in SincResamplerStereo()
63 float *xFrame = &mX[mCursor * getChannelCount()]; in readFrame()
67 for (int channel = 0; channel < getChannelCount(); channel++) { in readFrame()
76 for (int channel = 0; channel < getChannelCount(); channel++) { in readFrame()
DSincResampler.cpp25 , mSingleFrame2(builder.getChannelCount()) { in SincResampler()
59 float *xFrame = &mX[mCursor * getChannelCount()]; in readFrame()
63 for (int channel = 0; channel < getChannelCount(); channel++) { in readFrame()
72 for (int channel = 0; channel < getChannelCount(); channel++) { in readFrame()
DPolyphaseResampler.cpp46 float *xFrame = &mX[mCursor * getChannelCount()]; in readFrame()
50 for (int channel = 0; channel < getChannelCount(); channel++) { in readFrame()
59 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.cpp26 assert(builder.getChannelCount() == MONO); in PolyphaseResamplerMono()
/external/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.java158 public int getChannelCount() { in getChannelCount() method in AudioStreamBase
159 return mActualStreamConfiguration.getChannelCount(); in getChannelCount()
/external/oboe/src/common/
DAudioStreamBuilder.cpp88 … && (getChannelCount() == oboe::Unspecified || getChannelCount() == other.getChannelCount()); in isCompatible()
129 if (getChannelCount() == oboe::Unspecified) { in openStream()
130 parentBuilder.setChannelCount(tempStream->getChannelCount()); in openStream()
DQuirksManager.cpp62 && builder.getChannelCount() <= kChannelCountStereo; in isAAudioMMapPossible()
188 && builder.getChannelCount() == kChannelCountStereo in isConversionNeeded()
199 && builder.getChannelCount() == kChannelCountMono in isConversionNeeded()
DDataConversionFlowGraph.cpp83 int32_t sourceChannelCount = sourceStream->getChannelCount(); in configure()
88 int32_t sinkChannelCount = sinkStream->getChannelCount(); in configure()
/external/oboe/samples/RhythmGame/src/main/cpp/
DGame.cpp135 mMixer.renderAudio(outputBuffer+(oboeStream->getChannelCount()*i), 1); in onAudioReady()
142 numFrames * oboeStream->getChannelCount()); in onAudioReady()
192 mAudioStream->getChannelCount()); in openStream()
202 mMixer.setChannelCount(mAudioStream->getChannelCount()); in openStream()
211 .channelCount = mAudioStream->getChannelCount(), in setupAudioSources()
/external/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()
/external/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()
/external/oboe/samples/hello-oboe/src/main/cpp/
DHelloOboeEngine.cpp139 mStream->getChannelCount()); in start()
147 mStream->getChannelCount(), in start()
/external/webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/
DWebRtcAudioRecord.java100 this.channelCount = audioRecord.getChannelCount(); in AudioSamples()
109 public int getChannelCount() { in getChannelCount() method in WebRtcAudioRecord.AudioSamples
331 + "channels: " + audioRecord.getChannelCount() + ", " in logMainParameters()
/external/grpc-grpc-java/services/src/generated/main/java/io/grpc/channelz/v1/
DGetTopChannelsResponseOrBuilder.java37 int getChannelCount(); in getChannelCount() method
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/tracks/
DAppendTrack.java91 if (ase1.getChannelCount() == ase2.getChannelCount()) { in mergeAudioSampleEntries()
92 ase.setChannelCount(ase1.getChannelCount()); in mergeAudioSampleEntries()
/external/oboe/samples/LiveEffect/src/main/cpp/
DFullDuplexPass.h39 int32_t samplesPerFrame = outputStream->getChannelCount(); in onBothStreamsReady()

123