/frameworks/base/core/java/android/speech/srec/ |
D | WaveHeader.java | 53 private short mNumChannels; field in WaveHeader 76 mNumChannels = numChannels; in WaveHeader() 106 return mNumChannels; in getNumChannels() 115 mNumChannels = numChannels; in setNumChannels() 191 mNumChannels = readShort(in); in read() 196 if (byteRate != mNumChannels * mSampleRate * mBitsPerSample / 8) { in read() 199 if (blockAlign != mNumChannels * mBitsPerSample / 8) { in read() 240 writeShort(out, mNumChannels); in write() 242 writeInt(out, mNumChannels * mSampleRate * mBitsPerSample / 8); in write() 243 writeShort(out, (short)(mNumChannels * mBitsPerSample / 8)); in write() [all …]
|
/frameworks/base/media/libeffects/testlibs/ |
D | AudioBiquadFilter.cpp | 38 mNumChannels = nChannels; in configure() 96 if (mNumChannels == 1) { in setState() 104 if (mNumChannels == 1) { in setState() 112 if (mNumChannels == 1) { in setState() 146 memcpy(out, in, frameCount * mNumChannels * sizeof(audio_sample_t)); in process_bypass() 210 for (int ch = 0; ch < mNumChannels; ++ch) { in process_normal_multi() 230 in += mNumChannels; in process_normal_multi() 231 out += mNumChannels; in process_normal_multi() 237 in -= frameCount * mNumChannels - 1; in process_normal_multi() 238 out -= frameCount * mNumChannels - 1; in process_normal_multi()
|
D | AudioFormatAdapter.h | 62 mNumChannels = nChannels; in configure() 77 uint32_t nSamplesChannels = numSamplesIter * mNumChannels; in process() 109 int mNumChannels; variable 174 numSamples *= mNumChannels; in MixOutput()
|
D | AudioBiquadFilter.h | 123 int mNumChannels; variable
|
/frameworks/base/media/libstagefright/ |
D | WAVExtractor.cpp | 73 int32_t mNumChannels; member 176 mNumChannels = U16_LE_AT(&formatSpec[2]); in init() 177 if (mNumChannels != 1 && mNumChannels != 2) { in init() 226 mTrackMeta->setInt32(kKeyChannelCount, mNumChannels); in init() 232 1000000LL * (mDataSize / (mNumChannels * bytesPerSample)) in init() 259 mNumChannels(0), in WAVSource() 266 CHECK(mMeta->findInt32(kKeyChannelCount, &mNumChannels)); in WAVSource() 323 int64_t pos = (seekTimeUs * mSampleRate) / 1000000 * mNumChannels * (mBitsPerSample >> 3); in read() 408 / (mNumChannels * bytesPerSample) / mSampleRate); in read()
|
/frameworks/base/cmds/stagefright/ |
D | SineSource.cpp | 15 mNumChannels(numChannels), in SineSource() 53 meta->setInt32(kKeyChannelCount, mNumChannels); in getFormat() 71 size_t frameSize = mNumChannels * sizeof(int16_t); in read() 83 if (mNumChannels == 2) { in read()
|
D | SineSource.h | 31 int32_t mNumChannels; member
|
/frameworks/base/media/jni/soundpool/ |
D | SoundPool.h | 57 int numChannels() { return mNumChannels; } in numChannels() 69 …mNumChannels = numChannels; mSampleRate = sampleRate; mFormat = format; mSize = size; mData = data… in init() 79 uint8_t mNumChannels : 2; variable 119 SoundChannel() : mAudioTrack(0), mState(IDLE), mNumChannels(1), in SoundChannel() 137 int numChannels() { return mNumChannels; } in numChannels() 153 int mNumChannels; variable
|
D | SoundPool.cpp | 534 mNumChannels = numChannels; in doLoad() 636 mNumChannels = numChannels; in play() 868 uint32_t loopEnd = mSample->size()/mNumChannels/ in setLoop() 891 mState, mChannelID, mNumChannels, mPos, mPriority, mLoop); in dump()
|
/frameworks/base/media/libstagefright/codecs/mp3dec/ |
D | SoftMP3.cpp | 49 mNumChannels(2), in SoftMP3() 140 pcmParams->nChannels = mNumChannels; in internalGetParameter() 245 || mConfig->num_channels != mNumChannels) { in onQueueFilled() 247 mNumChannels = mConfig->num_channels; in onQueueFilled() 268 mNumFramesOutput += mConfig->outputFrameSize / mNumChannels; in onQueueFilled()
|
D | SoftMP3.h | 57 int32_t mNumChannels; member
|
/frameworks/base/media/libstagefright/codecs/g711/dec/ |
D | SoftG711.cpp | 44 mNumChannels(1), in SoftG711() 124 pcmParams->nChannels = mNumChannels; in internalGetParameter() 151 mNumChannels = pcmParams->nChannels; in internalSetParameter()
|
D | SoftG711.h | 49 OMX_U32 mNumChannels; member
|
/frameworks/base/media/libstagefright/include/ |
D | MP3Decoder.h | 46 int32_t mNumChannels; member
|
D | VorbisDecoder.h | 54 int32_t mNumChannels; member
|
D | WAVExtractor.h | 49 uint16_t mNumChannels; variable
|