/frameworks/base/core/java/android/speech/srec/ |
WaveHeader.java | 53 private short mNumChannels; 76 mNumChannels = numChannels; 106 return mNumChannels; 115 mNumChannels = numChannels; 191 mNumChannels = readShort(in); 196 if (byteRate != mNumChannels * mSampleRate * mBitsPerSample / 8) { 199 if (blockAlign != mNumChannels * mBitsPerSample / 8) { 240 writeShort(out, mNumChannels); 242 writeInt(out, mNumChannels * mSampleRate * mBitsPerSample / 8); 243 writeShort(out, (short)(mNumChannels * mBitsPerSample / 8)) [all...] |
/frameworks/av/cmds/stagefright/ |
SineSource.cpp | 15 mNumChannels(numChannels), 53 meta->setInt32(kKeyChannelCount, mNumChannels); 71 size_t frameSize = mNumChannels * sizeof(int16_t); 83 if (mNumChannels == 2) {
|
SineSource.h | 31 int32_t mNumChannels;
|
/frameworks/av/media/libeffects/testlibs/ |
AudioBiquadFilter.cpp | 36 mNumChannels = nChannels; 94 if (mNumChannels == 1) { 102 if (mNumChannels == 1) { 110 if (mNumChannels == 1) { 144 memcpy(out, in, frameCount * mNumChannels * sizeof(audio_sample_t)); 208 for (int ch = 0; ch < mNumChannels; ++ch) { 228 in += mNumChannels; 229 out += mNumChannels; 235 in -= frameCount * mNumChannels - 1; 236 out -= frameCount * mNumChannels - 1 [all...] |
AudioFormatAdapter.h | 62 mNumChannels = nChannels; 77 uint32_t nSamplesChannels = numSamplesIter * mNumChannels; 110 int mNumChannels; 175 numSamples *= mNumChannels;
|
AudioBiquadFilter.h | 123 int mNumChannels;
|
/frameworks/av/media/libstagefright/ |
WAVExtractor.cpp | 81 int32_t mNumChannels; 195 mNumChannels = U16_LE_AT(&formatSpec[2]); 197 if (mNumChannels != 1 && mNumChannels != 2) { 199 mNumChannels); 202 if (mNumChannels < 1 && mNumChannels > 8) { 248 ALOGV("numChannels=%d channelMask=0x%x", mNumChannels, mChannelMask); 255 && (popcount(mChannelMask) != mNumChannels)) { 303 mTrackMeta->setInt32(kKeyChannelCount, mNumChannels); [all...] |
/frameworks/av/media/libstagefright/codecs/g711/dec/ |
SoftG711.h | 49 OMX_U32 mNumChannels;
|
SoftG711.cpp | 44 mNumChannels(1), 131 pcmParams->nChannels = mNumChannels; 159 mNumChannels = pcmParams->nChannels;
|
/frameworks/av/media/libstagefright/codecs/aacenc/ |
SoftAACEncoder.cpp | 49 mNumChannels(1), 189 aacParams->nChannels = mNumChannels; 213 pcmParams->nChannels = mNumChannels; 274 mNumChannels = aacParams->nChannels; 293 mNumChannels = pcmParams->nChannels; 314 mSampleRate, mNumChannels, mBitRate); 326 params.nChannels = mNumChannels; 367 if (mNumChannels > 2 || mNumChannels <= 0) { 368 ALOGE("Unsupported number of channels(%lu)", mNumChannels); [all...] |
SoftAACEncoder.h | 56 OMX_U32 mNumChannels;
|
SoftAACEncoder2.h | 53 OMX_U32 mNumChannels;
|
SoftAACEncoder2.cpp | 45 mNumChannels(1), 158 aacParams->nChannels = mNumChannels; 217 pcmParams->nChannels = mNumChannels; 278 mNumChannels = aacParams->nChannels; 317 mNumChannels = pcmParams->nChannels; 367 mSampleRate, mNumChannels, mBitRate, mSBRMode, mSBRRatio); 384 getChannelMode(mNumChannels))) { 467 mNumChannels * kNumSamplesPerFrame * sizeof(int16_t); 479 // will drain "kNumSamplesPerFrame * mNumChannels" samples 515 / (mNumChannels * sizeof(int16_t)) [all...] |
/frameworks/wilhelm/src/itf/ |
IMuteSolo.c | 33 SLuint8 numChannels = ap->mNumChannels; 73 SLuint8 numChannels = ap->mNumChannels; 105 SLuint8 numChannels = ap->mNumChannels; 145 SLuint8 numChannels = ap->mNumChannels; 180 SLuint8 numChannels = ap->mNumChannels;
|
/frameworks/av/media/libstagefright/codecs/mp3dec/ |
SoftMP3.cpp | 49 mNumChannels(2), 143 pcmParams->nChannels = mNumChannels; 158 mp3Params->nChannels = mNumChannels; 197 mNumChannels = pcmParams->nChannels; 277 outHeader->nFilledLen = kPVMP3DecoderDelay * mNumChannels * sizeof(int16_t); 295 || mConfig->num_channels != mNumChannels) { 297 mNumChannels = mConfig->num_channels; 310 kPVMP3DecoderDelay * mNumChannels * sizeof(int16_t); 339 mNumFramesOutput += mConfig->outputFrameSize / mNumChannels;
|
SoftMP3.h | 59 int32_t mNumChannels;
|
/frameworks/av/media/libstagefright/include/ |
WAVExtractor.h | 49 uint16_t mNumChannels;
|
/frameworks/av/include/media/ |
SoundPool.h | 59 int numChannels() { return mNumChannels; } 72 mNumChannels = numChannels; mSampleRate = sampleRate; mFormat = format; mSize = size; 83 uint8_t mNumChannels : 2; 124 SoundChannel() : mState(IDLE), mNumChannels(1), 142 int numChannels() { return mNumChannels; } 158 int mNumChannels;
|
/frameworks/av/media/libstagefright/codecs/flac/enc/ |
SoftFlacEncoder.cpp | 54 mNumChannels(1), 174 pcmParams->nChannels = mNumChannels; 184 flacParams->nChannels = mNumChannels; 211 mNumChannels = pcmParams->nChannels; 213 ALOGV("will encode %d channels at %dHz", mNumChannels, mSampleRate); 305 assert(mNumChannels != 0); 311 const unsigned nbInputFrames = inHeader->nFilledLen / (2 * mNumChannels); 416 mNumChannels, mSampleRate); 425 ok = ok && FLAC__stream_encoder_set_channels(mFlacStreamEncoder, mNumChannels);
|
SoftFlacEncoder.h | 61 OMX_U32 mNumChannels;
|
/frameworks/wilhelm/src/ |
classes.h | 73 SLuint8 mNumChannels; // initially UNKNOWN_NUMCHANNELS, then const once it is known, 148 SLuint8 mNumChannels; // initially UNKNOWN_NUMCHANNELS, then const once it is known, 337 SLuint8 mNumChannels; // initially UNKNOWN_NUMCHANNELS, then const once it is known,
|
/frameworks/wilhelm/src/android/ |
AudioRecorder_to_android.cpp | 176 ar->mNumChannels = df_pcm->numChannels; 178 ar->mSampleRateMilliHz, ar->mNumChannels); 315 // ar->mNumChannels 400 // ar->mNumChannels 403 SL_LOGV("new AudioRecord %u channels, %u mHz", ar->mNumChannels, ar->mSampleRateMilliHz); 413 sles_to_android_channelMaskIn(ar->mNumChannels, 0 /*no channel mask*/),
|
MediaPlayer_to_android.cpp | 188 if (UNKNOWN_NUMCHANNELS == mp->mNumChannels && UNKNOWN_NUMCHANNELS != data1) { 189 mp->mNumChannels = data1; 589 android_player_volumeUpdate(volumes, &mp->mVolume, mp->mNumChannels, 1.0f, NULL);
|
/frameworks/av/media/libmedia/ |
SoundPool.cpp | 540 mNumChannels = numChannels; 646 mNumChannels = numChannels; 883 uint32_t loopEnd = mSample->size()/mNumChannels/ 905 ALOGV("mState = %d mChannelID=%d, mNumChannels=%d, mPos = %d, mPriority=%d, mLoop=%d", 906 mState, mChannelID, mNumChannels, mPos, mPriority, mLoop);
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
NuPlayerRenderer.h | 189 int32_t mNumChannels;
|