Home
last modified time | relevance | path

Searched refs:mChannelCount (Results 1 – 22 of 22) sorted by relevance

/external/oboe/apps/OboeTester/app/src/main/cpp/
DMultiChannelRecording.h34 : mChannelCount(channelCount) in MultiChannelRecording()
53 return mChannelCount; in getChannelCount()
83 int32_t numSamples = framesNow * mChannelCount; in write()
84 int32_t sampleIndex = indexFrame * mChannelCount; in write()
110 int32_t numSamples = framesNow * mChannelCount; in write()
111 int32_t sampleIndex = indexFrame * mChannelCount; in write()
139 int32_t numSamples = framesNow * mChannelCount; in read()
140 int32_t sampleIndex = indexFrame * mChannelCount; in read()
157 const int32_t mChannelCount; variable
DNativeAudioContext.cpp234 mChannelCount = oboeStream->getChannelCount(); // FIXME store per stream in open()
244 int numSamples = getFramesPerBlock() * mChannelCount; in open()
376 manyToMulti = std::make_unique<ManyToMultiConverter>(mChannelCount); in configureForStart()
378 mSinkFloat = std::make_shared<SinkFloat>(mChannelCount); in configureForStart()
379 mSinkI16 = std::make_shared<SinkI16>(mChannelCount); in configureForStart()
380 mSinkI24 = std::make_shared<SinkI24>(mChannelCount); in configureForStart()
381 mSinkI32 = std::make_shared<SinkI32>(mChannelCount); in configureForStart()
400 for (int i = 0; i < mChannelCount; i++) { in configureForStart()
540 builder.setChannelCount(mChannelCount) in startPlayback()
560 monoToMulti = std::make_unique<MonoToMultiConverter>(mChannelCount); in configureForStart()
[all …]
DNativeAudioContext.h289 mRecording = std::make_unique<MultiChannelRecording>(mChannelCount, in createRecording()
307 int32_t mChannelCount = 0; // TODO per stream variable
/external/oboe/samples/shared/
DMixer.h38 memset(audioData, 0, sizeof(float) * numFrames * mChannelCount); in renderAudio()
43 for (int j = 0; j < numFrames * mChannelCount; ++j) { in renderAudio()
53 void setChannelCount(int32_t channelCount){ mChannelCount = channelCount; } in setChannelCount()
66 int32_t mChannelCount = 1; // Default to mono variable
DTappableAudioSource.h32 mSampleRate(sampleRate), mChannelCount(channelCount) { } in TappableAudioSource()
35 int32_t mChannelCount; variable
/external/oboe/samples/hello-oboe/src/main/cpp/
DSoundGenerator.cpp28 for (int i = 0; i < mChannelCount; ++i) { in SoundGenerator()
39 for (int i = 0; i < mChannelCount; ++i) { in renderAudio()
42 audioData[(j * mChannelCount) + i] = mBuffer[j]; in renderAudio()
48 for (int i = 0; i < mChannelCount; ++i) { in tap()
DHelloOboeEngine.cpp94 ->setChannelCount(mChannelCount) in openPlaybackStream()
98 mChannelCount = mStream->getChannelCount(); in openPlaybackStream()
112 mChannelCount = channelCount; in start()
DHelloOboeEngine.h90 int32_t mChannelCount = oboe::Unspecified; variable
/external/oboe/src/flowgraph/resampler/
DMultiChannelResampler.h82 mChannelCount = channelCount; in setChannelCount()
127 return mChannelCount; in getChannelCount()
143 int32_t mChannelCount = 1;
195 return mChannelCount; in getChannelCount()
269 const int mChannelCount; variable
DMultiChannelResampler.cpp35 , mChannelCount(builder.getChannelCount()) in MultiChannelResampler()
/external/oboe/samples/iolib/src/main/cpp/player/
DSimpleMultiPlayer.cpp37 : mChannelCount(0), mOutputReset(false) in SimpleMultiPlayer()
51 memset(audioData, 0, static_cast<size_t>(numFrames) * static_cast<size_t>(mChannelCount) in onAudioReady()
57 mSampleSources[index]->mixAudio((float*)audioData, mChannelCount, numFrames); in onAudioReady()
82 builder.setChannelCount(mChannelCount); in openStream()
130 mChannelCount = channelCount; in setupAudioStream()
DSimpleMultiPlayer.h84 int32_t mChannelCount; variable
/external/oboe/apps/OboeTester/app/src/main/java/com/mobileer/oboetester/
DAudioRecordThread.java32 private final int mChannelCount; field in AudioRecordThread
45 mChannelCount = channelCount; in AudioRecordThread()
50 int channelConfig = (mChannelCount == 1) in createRecorder()
DStreamConfiguration.java263 private int mChannelCount; field in StreamConfiguration
315 mChannelCount = UNSPECIFIED; in reset()
574 message.append(String.format("%s.channels = %d\n", prefix, mChannelCount)); in dump()
652 return mChannelCount; in getChannelCount()
656 this.mChannelCount = channelCount; in setChannelCount()
/external/oboe/include/oboe/
DAudioStreamBase.h53 int32_t getChannelCount() const { return mChannelCount; } in getChannelCount()
200 int32_t mChannelCount = kUnspecified; variable
DAudioStreamBuilder.h52 mChannelCount = channelCount; in setChannelCount()
72 mChannelCount = getChannelCountFromChannelMask(channelMask); in setChannelMask()
DAudioStream.h219 int32_t getBytesPerFrame() const { return mChannelCount * getBytesPerSample(); } in getBytesPerFrame()
/external/oboe/src/opensles/
DAudioStreamOpenSLES.cpp71 LOGI("AudioStreamOpenSLES::open() chans=%d, rate=%d", mChannelCount, mSampleRate); in open()
94 if (mChannelCount == kUnspecified) { in open()
95 mChannelCount = DefaultStreamValues::ChannelCount; in open()
DAudioInputStreamOpenSLES.cpp110 static_cast<SLuint32>(mChannelCount), // numChannels in open()
114 channelCountToChannelMask(mChannelCount), // channelMask in open()
DAudioOutputStreamOpenSLES.cpp152 static_cast<SLuint32>(mChannelCount), // numChannels in open()
156 channelCountToChannelMask(mChannelCount), // channelMask in open()
/external/oboe/samples/MegaDrone/src/main/cpp/
DSynth.h44 if (mChannelCount == oboe::ChannelCount::Stereo) { in Synth()
/external/oboe/src/aaudio/
DAudioStreamAAudio.cpp218 mLibLoader->builder_setChannelCount(aaudioBuilder, mChannelCount); in open()
297 mChannelCount = mLibLoader->stream_getChannelCount(mAAudioStream); in open()