/frameworks/base/media/libstagefright/codecs/aacenc/ |
D | AACEncoder.cpp | 48 CHECK(mMeta->findInt32(kKeyChannelCount, &mChannels)); in initCheck() 49 CHECK(mChannels <= 2 && mChannels >= 1); in initCheck() 86 params.nChannels = mChannels; in initCheck() 115 mSampleRate, mBitRate, mChannels); in setAudioSpecificConfigData() 119 if (mChannels > 2 || mChannels <= 0) { in setAudioSpecificConfigData() 120 LOGE("Unsupported number of channels(%d)", mChannels); in setAudioSpecificConfigData() 126 mAudioSpecificConfigData[1] = ((index & 0x01) << 7) | (mChannels << 3); in setAudioSpecificConfigData() 151 mInputFrame = new int16_t[mChannels * kNumSamplesPerFrame]; in start() 242 const int32_t nSamples = mChannels * kNumSamplesPerFrame; in read()
|
/frameworks/base/media/jni/soundpool/ |
D | SoundPool.cpp | 71 mChannels.push_back(&mChannelPool[i]); in SoundPool() 86 mChannels.clear(); in ~SoundPool() 286 if (!mChannels.empty()) { in allocateChannel_l() 287 iter = mChannels.begin(); in allocateChannel_l() 290 mChannels.erase(iter); in allocateChannel_l() 298 for (iter = mChannels.begin(); iter != mChannels.end(); ++iter) { in allocateChannel_l() 303 mChannels.insert(iter, channel); in allocateChannel_l() 311 for (List<SoundChannel*>::iterator iter = mChannels.begin(); iter != mChannels.end(); ++iter) { in moveToFront_l() 313 mChannels.erase(iter); in moveToFront_l() 314 mChannels.push_front(channel); in moveToFront_l()
|
D | SoundPool.h | 218 List<SoundChannel*> mChannels; variable
|
/frameworks/ex/variablespeed/jni/ |
D | variablespeed.cc | 288 mSampleRate(0), mChannels(0), in AudioEngine() 367 (result * 1000) / mSampleRate / mChannels + startPositionMillis_); in GetCurrentPosition() 380 timeScaler_->Init(mSampleRate, mChannels, initialRate_, windowDuration_, in GetTimeScaler() 391 channels = mChannels; in EnqueueNextBufferOfAudio() 550 switch (mChannels) { in GetSLChannels() 556 LOGE("unknown channels %d, using 2", mChannels); in GetSLChannels() 563 return mChannels; in GetChannelCount() 594 return mChannels != 0 && mSampleRate != 0; in HasSampleRateAndChannels() 684 floatBuffer_ = new float[targetFrames_ * mChannels]; in PlayFromThisSource() 685 injectBuffer_ = new float[targetFrames_ * mChannels]; in PlayFromThisSource() [all …]
|
D | variablespeed.h | 118 SLuint32 mChannels; variable
|
/frameworks/base/media/java/android/media/ |
D | AudioRecord.java | 138 private int mChannels = AudioFormat.CHANNEL_IN_MONO; field in AudioRecord 238 mRecordSource, mSampleRate, mChannels, mAudioFormat, mNativeBufferSizeInBytes, in AudioRecord() 289 mChannels = AudioFormat.CHANNEL_IN_MONO; in audioParamCheck() 294 mChannels = AudioFormat.CHANNEL_IN_STEREO; in audioParamCheck() 298 mChannels = AudioFormat.CHANNEL_INVALID; in audioParamCheck()
|
D | AudioTrack.java | 191 private int mChannels = AudioFormat.CHANNEL_OUT_MONO; field in AudioTrack 325 mStreamType, mSampleRate, mChannels, mAudioFormat, in AudioTrack() 385 mChannels = AudioFormat.CHANNEL_OUT_MONO; in audioParamCheck() 390 mChannels = AudioFormat.CHANNEL_OUT_STEREO; in audioParamCheck() 394 mChannels = AudioFormat.CHANNEL_INVALID; in audioParamCheck()
|
/frameworks/base/include/media/ |
D | MediaProfiles.h | 238 mChannels(channels) {} in AudioCodec() 244 mChannels = copy.mChannels; in AudioCodec() 252 int mChannels; member
|
/frameworks/base/core/java/android/bluetooth/ |
D | BluetoothAdapter.java | 820 private final LinkedList<Integer> mChannels; // local list of channels left to try field in BluetoothAdapter.RfcommChannelPicker 837 mChannels = (LinkedList<Integer>)sChannels.clone(); in RfcommChannelPicker() 843 if (mChannels.size() == 0) { in nextChannel() 846 return mChannels.remove(sRandom.nextInt(mChannels.size())); in nextChannel()
|
/frameworks/base/media/libstagefright/include/ |
D | AACEncoder.h | 52 int32_t mChannels; variable
|
/frameworks/base/media/libstagefright/ |
D | FLACExtractor.cpp | 547 unsigned mChannels; in init() member 559 if (table[i].mChannels == getChannels() && in init()
|
/frameworks/base/media/libmedia/ |
D | MediaProfiles.cpp | 100 LOGV("number of channels: %d", codec.mChannels); in logAudioCodec() 1116 if (!strcmp("aud.ch", name)) return mCamcorderProfiles[index]->mAudioCodec->mChannels; in getCamcorderProfileParamByName()
|