HomeSort by relevance Sort by last modified time
    Searched refs:numChannels (Results 26 - 50 of 88) sorted by null

12 3 4

  /frameworks/base/media/libmedia/
JetPlayer.cpp 95 (pLibConfig->numChannels == 2) ? AUDIO_CHANNEL_OUT_STEREO : AUDIO_CHANNEL_OUT_MONO,
175 new EAS_PCM[pLibConfig->mixBufferSize * pLibConfig->numChannels * MIX_NUM_BUFFERS];
220 p += count * pLibConfig->numChannels;
221 num_output += count * pLibConfig->numChannels * sizeof(EAS_PCM);
  /frameworks/media/libvideoeditor/lvpp/
AudioPlayerBase.cpp 107 int32_t numChannels;
108 success = format->findInt32(kKeyChannelCount, &numChannels);
113 mSampleRate, numChannels, AUDIO_FORMAT_PCM_16_BIT,
136 (numChannels == 2)
VideoEditorAudioPlayer.cpp 297 int32_t numChannels;
298 success = format->findInt32(kKeyChannelCount, &numChannels);
303 mSampleRate, numChannels, AUDIO_FORMAT_PCM_16_BIT,
326 (numChannels == 2)
  /external/sonivox/arm-fm-22k/host_src/
eas_main.c 123 wFile = WaveFileCreate(outputFile, pLibConfig->numChannels, pLibConfig->sampleRate, sizeof(EAS_PCM) * 8);
136 for (i = 0, p = buffer; i < NUM_BUFFERS; i++, p+= pLibConfig->mixBufferSize * pLibConfig->numChannels)
280 bufferSize = pLibConfig->mixBufferSize * pLibConfig->numChannels * (EAS_I32)sizeof(EAS_PCM) * NUM_BUFFERS;
438 { /* dpp: EAS_ReportEx(_EAS_SEVERITY_INFO, "\tNumber of channels: %d\n", pLibConfig->numChannels); */ }
eas.h 54 EAS_I32 numChannels;
    [all...]
  /external/sonivox/arm-hybrid-22k/host_src/
eas_main.c 123 wFile = WaveFileCreate(outputFile, pLibConfig->numChannels, pLibConfig->sampleRate, sizeof(EAS_PCM) * 8);
136 for (i = 0, p = buffer; i < NUM_BUFFERS; i++, p+= pLibConfig->mixBufferSize * pLibConfig->numChannels)
280 bufferSize = pLibConfig->mixBufferSize * pLibConfig->numChannels * (EAS_I32)sizeof(EAS_PCM) * NUM_BUFFERS;
438 { /* dpp: EAS_ReportEx(_EAS_SEVERITY_INFO, "\tNumber of channels: %d\n", pLibConfig->numChannels); */ }
eas.h 54 EAS_I32 numChannels;
    [all...]
  /external/sonivox/arm-wt-22k/host_src/
eas_main.c 126 wFile = WaveFileCreate(outputFile, pLibConfig->numChannels, pLibConfig->sampleRate, sizeof(EAS_PCM) * 8);
139 for (i = 0, p = buffer; i < NUM_BUFFERS; i++, p+= pLibConfig->mixBufferSize * pLibConfig->numChannels)
283 bufferSize = pLibConfig->mixBufferSize * pLibConfig->numChannels * (EAS_I32)sizeof(EAS_PCM) * NUM_BUFFERS;
441 { /* dpp: EAS_ReportEx(_EAS_SEVERITY_INFO, "\tNumber of channels: %d\n", pLibConfig->numChannels); */ }
  /frameworks/base/media/java/android/media/
MediaRecorder.java 522 * @param numChannels the number of audio channels. Usually it is either 1 (mono) or 2
525 public void setAudioChannels(int numChannels) {
526 if (numChannels <= 0) {
529 setParameter("audio-param-number-of-channels=" + numChannels);
    [all...]
  /frameworks/base/media/libmediaplayerservice/nuplayer/
NuPlayerDecoder.cpp 124 int32_t numChannels, sampleRate;
125 CHECK(meta->findInt32(kKeyChannelCount, &numChannels));
128 msg->setInt32("channel-count", numChannels);
NuPlayer.cpp 327 int32_t numChannels;
328 CHECK(codecRequest->findInt32("channel-count", &numChannels));
334 sampleRate, numChannels);
339 numChannels,
  /frameworks/base/media/libstagefright/rtsp/
ASessionDescription.cpp 278 const char *desc, int32_t *timescale, int32_t *numChannels) {
289 *numChannels = 1;
297 *numChannels = x;
  /system/media/wilhelm/src/
data.c 354 switch (pDataFormat->mPCM.numChannels) {
366 SL_LOGE("%s: numChannels=%u", name, (unsigned) pDataFormat->mPCM.numChannels);
434 if (2 != pDataFormat->mPCM.numChannels) {
441 if (1 != pDataFormat->mPCM.numChannels) {
448 pDataFormat->mPCM.channelMask = pDataFormat->mPCM.numChannels == 2 ?
456 SL_LOGE("%s: channelMask=0x%x numChannels=%u", name,
457 pDataFormat->mPCM.channelMask, pDataFormat->mPCM.numChannels);
654 (1 == pSrcDataLocatorFormat->mFormat.mPCM.numChannels)) {
    [all...]
  /frameworks/base/include/media/stagefright/
OMXCodec.h 231 status_t setAACFormat(int32_t numChannels, int32_t sampleRate, int32_t bitRate);
232 void setG711Format(int32_t numChannels);
271 OMX_U32 portIndex, int32_t sampleRate, int32_t numChannels);
  /frameworks/base/media/libmediaplayerservice/
MidiFile.cpp 423 if (mAudioSink->open(pLibConfig->sampleRate, pLibConfig->numChannels, AUDIO_FORMAT_PCM_16_BIT, 2) != NO_ERROR) {
444 mAudioBuffer = new EAS_PCM[pLibConfig->mixBufferSize * pLibConfig->numChannels * NUM_BUFFERS];
482 p += count * pLibConfig->numChannels;
483 num_output += count * pLibConfig->numChannels * sizeof(EAS_PCM);
  /frameworks/base/media/libstagefright/
AudioPlayer.cpp 113 int32_t numChannels;
114 success = format->findInt32(kKeyChannelCount, &numChannels);
119 mSampleRate, numChannels, AUDIO_FORMAT_PCM_16_BIT,
142 (numChannels == 2)
OMXCodec.cpp 662 int32_t numChannels, sampleRate;
663 CHECK(meta->findInt32(kKeyChannelCount, &numChannels));
666 status_t err = setAACFormat(numChannels, sampleRate, bitRate);
676 int32_t numChannels;
677 CHECK(meta->findInt32(kKeyChannelCount, &numChannels));
679 setG711Format(numChannels);
    [all...]
ACodec.cpp 755 int32_t numChannels, sampleRate;
756 CHECK(msg->findInt32("channel-count", &numChannels));
759 CHECK_EQ(setupAACDecoder(numChannels, sampleRate), (status_t)OK);
769 int32_t numChannels;
770 CHECK(msg->findInt32("channel-count", &numChannels));
772 CHECK_EQ(setupG711Decoder(numChannels), (status_t)OK);
822 status_t ACodec::setupAACDecoder(int32_t numChannels, int32_t sampleRate) {
834 profile.nChannels = numChannels;
864 status_t ACodec::setupG711Decoder(int32_t numChannels) {
866 kPortIndexInput, 8000 /* sampleRate */, numChannels);
    [all...]
  /cts/tests/tests/nativemedia/src/
SLObjectCreationTest.cpp 159 formatPcmSnk.numChannels = 1;
210 pcm.numChannels = 2;
  /frameworks/base/media/libstagefright/codecs/aacdec/
sbr_applied.cpp 37 int numChannels
163 Int32 numChannels)
401 if (numChannels == 2)
  /development/ndk/platforms/android-9/samples/native-audio/jni/
native-audio-jni.c 391 SLuint8 numChannels;
395 result = (*muteSoloItf)->GetNumChannels(muteSoloItf, &numChannels);
398 numChannels = 0;
403 numChannels = 0;
405 return numChannels;
  /system/media/wilhelm/tests/sandbox/
playbq.c 242 format_pcm.numChannels = sfinfo.channels;
246 format_pcm.channelMask = 1 == format_pcm.numChannels ? SL_SPEAKER_FRONT_CENTER :
  /frameworks/base/media/libstagefright/mpeg2ts/
ESQueue.cpp 336 int32_t numChannels;
338 CHECK(mFormat->findInt32(kKeyChannelCount, &numChannels));
341 sampleRate, numChannels);
579 int samplingRate, numChannels, bitrate, numSamples;
581 header, &frameSize, &samplingRate, &numChannels,
625 mFormat->setInt32(kKeyChannelCount, numChannels);
  /frameworks/base/cmds/stagefright/
sf2.cpp 276 int32_t numChannels, sampleRate;
277 CHECK(meta->findInt32(kKeyChannelCount, &numChannels));
280 msg->setInt32("channel-count", numChannels);
  /system/media/wilhelm/tests/automated/
BufferQueue_test.cpp 121 pcm.numChannels = 2;
319 pcm.numChannels = 1;

Completed in 3672 milliseconds

12 3 4