/frameworks/base/media/java/android/media/ |
H A D | MediaRecorder.java | 629 * @param numChannels the number of audio channels. Usually it is either 1 (mono) or 2 632 public void setAudioChannels(int numChannels) { argument 633 if (numChannels <= 0) { 636 setParameter("audio-param-number-of-channels=" + numChannels);
|
/frameworks/av/media/libstagefright/ |
H A D | OMXCodec.cpp | 587 int32_t numChannels, sampleRate, aacProfile; local 588 CHECK(meta->findInt32(kKeyChannelCount, &numChannels)); 600 status_t err = setAACFormat(numChannels, sampleRate, bitRate, aacProfile, isADTS); 606 int32_t numChannels, sampleRate; local 607 if (meta->findInt32(kKeyChannelCount, &numChannels) 614 numChannels); 617 int32_t numChannels; local 619 CHECK(meta->findInt32(kKeyChannelCount, &numChannels)); 622 status_t err = setAC3Format(numChannels, sampleRate); 632 int32_t numChannels; local 639 int32_t numChannels, sampleRate; local 3380 setRawAudioFormat( OMX_U32 portIndex, int32_t sampleRate, int32_t numChannels) argument 3487 int32_t numChannels; local 3495 setAACFormat( int32_t numChannels, int32_t sampleRate, int32_t bitRate, int32_t aacProfile, bool isADTS) argument 3596 setAC3Format(int32_t numChannels, int32_t sampleRate) argument 3621 setG711Format(int32_t numChannels) argument 4275 int32_t numChannels, sampleRate; local 4334 int32_t numChannels, sampleRate, bitRate; local 4345 int32_t numChannels, sampleRate, bitRate; local 4584 getOMXChannelMapping(size_t numChannels, OMX_AUDIO_CHANNELTYPE map[]) argument [all...] |
H A D | AudioPlayer.cpp | 125 int32_t numChannels, channelMask; local 126 success = format->findInt32(kKeyChannelCount, &numChannels); 131 ALOGI_IF(numChannels > 2, 132 "source format didn't specify channel mask, using (%d) channel order", numChannels); 184 mSampleRate, numChannels, channelMask, audioFormat, 226 audio_channel_out_mask_from_count(numChannels) : channelMask;
|
H A D | ACodec.cpp | 1511 int32_t numChannels, sampleRate; local 1512 if (!msg->findInt32("channel-count", &numChannels) 1521 numChannels); 1524 int32_t numChannels, sampleRate; local 1525 if (!msg->findInt32("channel-count", &numChannels) 1573 encoder, numChannels, sampleRate, bitRate, aacProfile, 1586 int32_t numChannels; local 1587 if (!msg->findInt32("channel-count", &numChannels)) { 1590 err = setupG711Codec(encoder, numChannels); 1593 int32_t numChannels, sampleRat local 1622 int32_t numChannels, sampleRate; local 1631 int32_t numChannels; local 1640 int32_t numChannels; local 1748 setupAACCodec( bool encoder, int32_t numChannels, int32_t sampleRate, int32_t bitRate, int32_t aacProfile, bool isADTS, int32_t sbrMode, int32_t maxOutputChannelCount, const drcParams_t& drc, int32_t pcmLimiterEnable) argument 1895 setupAC3Codec( bool encoder, int32_t numChannels, int32_t sampleRate) argument 1933 setupEAC3Codec( bool encoder, int32_t numChannels, int32_t sampleRate) argument 2044 setupG711Codec(bool encoder, int32_t numChannels) argument 2051 setupFlacCodec( bool encoder, int32_t numChannels, int32_t sampleRate, int32_t compressionLevel) argument 2079 setupRawAudioFormat( OMX_U32 portIndex, int32_t sampleRate, int32_t numChannels) argument [all...] |
H A D | Utils.cpp | 132 int32_t numChannels, sampleRate; local 133 CHECK(meta->findInt32(kKeyChannelCount, &numChannels)); 136 msg->setInt32("channel-count", numChannels); 517 int32_t numChannels; local 518 if (msg->findInt32("channel-count", &numChannels)) { 519 meta->setInt32(kKeyChannelCount, numChannels);
|
H A D | MPEG4Extractor.cpp | 2759 int32_t numChannels = 0; local 2765 numChannels = br.getBits(4); 2767 numChannels = br.getBits(4); 2794 switch (numChannels) { 2803 //numChannels already contains the right value 2806 numChannels = 7; 2811 numChannels = 8; 2859 if (numChannels == 0) { 2914 numChannels = channelsNum; 2919 if (numChannels [all...] |
H A D | AVIExtractor.cpp | 712 uint32_t numChannels = U16LE_AT(&data[2]); local 715 track->mMeta->setInt32(kKeyChannelCount, numChannels);
|
/frameworks/av/media/libstagefright/rtsp/ |
H A D | AMPEG4ElementaryAssembler.cpp | 189 int32_t sampleRate, numChannels; local 191 desc.c_str(), &sampleRate, &numChannels); 193 mChannelConfig = numChannels;
|
H A D | ARTPWriter.cpp | 475 int32_t sampleRate, numChannels; local 477 CHECK(mSource->getFormat()->findInt32(kKeyChannelCount, &numChannels)); 479 CHECK_EQ(numChannels, 1); 483 sdp.append(StringPrintf("/%d/%d", sampleRate, numChannels));
|
H A D | MyHandler.h | 1602 int32_t numChannels; local 1604 formatDesc.c_str(), ×cale, &numChannels);
|
/frameworks/av/media/libmediaplayerservice/ |
H A D | MidiFile.cpp | 432 if (mAudioSink->open(pLibConfig->sampleRate, pLibConfig->numChannels, 449 mAudioBuffer = new EAS_PCM[pLibConfig->mixBufferSize * pLibConfig->numChannels * NUM_BUFFERS]; 487 p += count * pLibConfig->numChannels; 488 num_output += count * pLibConfig->numChannels * sizeof(EAS_PCM);
|
/frameworks/av/media/libstagefright/mpeg2ts/ |
H A D | ESQueue.cpp | 574 size_t frameSize = 2 /* numChannels */ * sizeof(int16_t); 654 int32_t numChannels; local 656 CHECK(mFormat->findInt32(kKeyChannelCount, &numChannels)); 659 sampleRate, numChannels); 913 int samplingRate, numChannels, bitrate, numSamples; local 915 header, &frameSize, &samplingRate, &numChannels, 959 mFormat->setInt32(kKeyChannelCount, numChannels);
|
/frameworks/av/cmds/stagefright/ |
H A D | sf2.cpp | 308 int32_t numChannels, sampleRate; local 309 CHECK(meta->findInt32(kKeyChannelCount, &numChannels)); 312 msg->setInt32("channel-count", numChannels);
|
/frameworks/wilhelm/tests/automated/ |
H A D | BufferQueue_test.cpp | 121 pcm.numChannels = 2; 319 pcm.numChannels = 1;
|
/frameworks/wilhelm/include/SLES/ |
H A D | OpenSLES_Android.h | 48 SLuint32 numChannels; member in struct:SLAndroidDataFormat_PCM_EX_
|
/frameworks/wilhelm/tests/examples/ |
H A D | slesTestSawtoothBufferQueue.cpp | 170 pcm.numChannels = 1;//2;
|
H A D | slesTestRecBuffQueue.cpp | 208 pcm.numChannels = 1;
|
H A D | slesTestDecodeToBuffQueue.cpp | 348 pcm.numChannels = 1;
|
H A D | slesTestFeedback.cpp | 366 pcm.numChannels = channels;
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
H A D | NuPlayerRenderer.cpp | 1415 int32_t numChannels; local 1416 CHECK(format->findInt32("channel-count", &numChannels)); 1480 numChannels, 1518 numChannels, 1532 numChannels,
|
/frameworks/wilhelm/tests/sandbox/ |
H A D | playbq.c | 398 format_pcm.numChannels = sfinfo.channels; 402 format_pcm.channelMask = 1 == format_pcm.numChannels ? SL_SPEAKER_FRONT_CENTER :
|
H A D | playbq.cpp | 398 format_pcm.numChannels = sfinfo.channels; 402 format_pcm.channelMask = 1 == format_pcm.numChannels ? SL_SPEAKER_FRONT_CENTER :
|
/frameworks/wilhelm/src/android/ |
H A D | AudioPlayer_to_android.cpp | 961 df_pcm->numChannels); 964 (unsigned) df_pcm->numChannels); 1526 sles_to_android_channelMaskOut(df_pcm->numChannels, df_pcm->channelMask), 1544 pAudioPlayer->mNumChannels = df_pcm->numChannels;
|
H A D | AudioRecorder_to_android.cpp | 176 ar->mNumChannels = df_pcm->numChannels;
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
H A D | WifiConfigStore.java | 3254 int numChannels = 0; 3258 if (numChannels > maxNumActiveChannelsForPartialScans) { 3268 numChannels++; 3288 if (numChannels > maxNumActiveChannelsForPartialScans) { 3293 numChannels++;
|