HomeSort by relevance Sort by last modified time
    Searched refs:mNumChannels (Results 1 - 25 of 28) sorted by null

1 2

  /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/codecs/g711/dec/
SoftG711.h 49 OMX_U32 mNumChannels;
SoftG711.cpp 44 mNumChannels(1),
124 pcmParams->nChannels = mNumChannels;
152 mNumChannels = pcmParams->nChannels;
  /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/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 44 mNumChannels(1),
155 aacParams->nChannels = mNumChannels;
179 pcmParams->nChannels = mNumChannels;
240 mNumChannels = aacParams->nChannels;
262 mNumChannels = pcmParams->nChannels;
312 mSampleRate, mNumChannels, mBitRate);
329 getChannelMode(mNumChannels))) {
394 mNumChannels * kNumSamplesPerFrame * sizeof(int16_t);
406 // will drain "kNumSamplesPerFrame * mNumChannels" samples
442 / (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.h 59 int32_t mNumChannels;
SoftMP3.cpp 49 mNumChannels(2),
141 pcmParams->nChannels = mNumChannels;
178 mNumChannels = pcmParams->nChannels;
213 kPVMP3DecoderDelay * mNumChannels * sizeof(int16_t);
273 || mConfig->num_channels != mNumChannels) {
275 mNumChannels = mConfig->num_channels;
288 kPVMP3DecoderDelay * mNumChannels * sizeof(int16_t);
308 mNumFramesOutput += mConfig->outputFrameSize / 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 48 mNumChannels(1),
168 pcmParams->nChannels = mNumChannels;
178 flacParams->nChannels = mNumChannels;
205 mNumChannels = pcmParams->nChannels;
207 ALOGV("will encode %ld channels at %ldHz", mNumChannels, mSampleRate);
299 assert(mNumChannels != 0);
305 const unsigned nbInputFrames = inHeader->nFilledLen / (2 * mNumChannels);
409 mNumChannels, mSampleRate);
418 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,
145 SLuint8 mNumChannels; // initially UNKNOWN_NUMCHANNELS, then const once it is known,
333 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);
307 // ar->mNumChannels
391 // ar->mNumChannels
394 SL_LOGV("new AudioRecord %u channels, %u mHz", ar->mNumChannels, ar->mSampleRateMilliHz);
404 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 528 mNumChannels = numChannels;
635 mNumChannels = numChannels;
871 uint32_t loopEnd = mSample->size()/mNumChannels/
893 ALOGV("mState = %d mChannelID=%d, mNumChannels=%d, mPos = %d, mPriority=%d, mLoop=%d",
894 mState, mChannelID, mNumChannels, mPos, mPriority, mLoop);
  /frameworks/wilhelm/src/desktop/
SndFile.c 263 thiz->mNumChannels = thiz->mSndFile.mSfInfo.channels;

Completed in 1082 milliseconds

1 2