Searched refs:channelCount (Results 26 - 41 of 41) sorted by relevance

12

/frameworks/av/include/media/
H A DAudioTrack.h75 int channelCount; // will be removed in the future, do not use member in class:android::AudioTrack::Buffer
241 int channelCount() const;
244 /* Return channelCount * (bit depth per channel / 8).
245 * channelCount is determined from channelMask, and bit depth comes from format.
H A DMediaPlayerInterface.h86 virtual ssize_t channelCount() const = 0;
97 uint32_t sampleRate, int channelCount, audio_channel_mask_t channelMask,
H A DIAudioFlinger.h89 virtual int channelCount(audio_io_handle_t output) const = 0;
/frameworks/av/libvideoeditor/lvpp/
H A DVideoEditorPlayer.h44 virtual ssize_t channelCount() const;
53 uint32_t sampleRate, int channelCount, audio_channel_mask_t channelMask,
/frameworks/av/media/libmedia/
H A DAudioTrack.cpp259 uint32_t channelCount = popcount(channelMask); local
309 mChannelCount = channelCount;
347 int AudioTrack::channelCount() const function in class:android::AudioTrack
360 return channelCount()*audio_bytes_per_sample(mFormat);
803 // Ensure that buffer alignment matches channelCount
804 int channelCount = popcount(channelMask); local
807 if (channelCount > 1) {
812 ALOGE("Invalid buffer alignment: address %p, channelCount %d",
813 sharedBuffer->pointer(), channelCount);
821 frameCount = sharedBuffer->size()/channelCount/sizeo
[all...]
H A DIAudioFlinger.cpp190 virtual int channelCount(audio_io_handle_t output) const
768 reply->writeInt32( channelCount((audio_io_handle_t) data.readInt32()) );
/frameworks/wilhelm/src/android/
H A Dandroid_GenericPlayer.h232 unsigned channelCount, float amplFromDirectLevel, const bool *audibilityFactors /*[2]*/);
H A DAudioPlayer_to_android.cpp200 SLuint8 channelCount = ap->mNumChannels; local
206 if (channelCount >= STEREO_CHANNELS) {
256 android_player_volumeUpdate(volumes, &ap->mVolume, channelCount, ap->mAmplFromDirectLevel,
289 channelCount, float amplFromDirectLevel, const bool *audibilityFactors /*[2]*/)
327 if (1 == channelCount) {
288 android_player_volumeUpdate(float *pVolumes , const IVolume *volumeItf, unsigned channelCount, float amplFromDirectLevel, const bool *audibilityFactors ) argument
/frameworks/av/libvideoeditor/vss/stagefrightshells/src/
H A DVideoEditorAudioDecoder.cpp740 int32_t sampleRate, channelCount; local
743 CHECK(meta->findInt32(kKeyChannelCount, &channelCount));
745 ALOGV("VideoEditorAudioDecoder_step: channelCnt = %d", channelCount);
749 (uint32_t)channelCount;
750 pDecoderContext->mNbOutputChannels = channelCount;
/frameworks/av/cmds/stagefright/
H A DSimplePlayer.cpp580 int32_t channelCount; local
582 CHECK(format->findInt32("channel-count", &channelCount));
589 audio_channel_out_mask_from_count(channelCount),
/frameworks/av/media/libstagefright/wifi-display/source/
H A DTSPacketizer.cpp291 int32_t channelCount; local
292 CHECK(mFormat->findInt32("channel-count", &channelCount));
293 CHECK_EQ(channelCount, 2);
/frameworks/av/services/audioflinger/
H A DAudioMixer.h166 uint8_t channelCount; // 1 or 2, redundant with (needs & NEEDS_CHANNEL_COUNT__MASK) member in struct:android::AudioMixer::track_t
H A DAudioFlinger.cpp558 int AudioFlinger::channelCount(audio_io_handle_t output) const function in class:android::AudioFlinger
563 ALOGW("channelCount() unknown thread %d", output);
566 return thread->channelCount();
3623 unsigned channelCount = Format_channelCount(format); local
3624 ALOG_ASSERT(channelCount <= FCC_2);
3626 wavHeader[22] = channelCount; // number of channels
3629 wavHeader[32] = channelCount * 2; // block alignment
3648 write(teeFd, buffer, actual * channelCount * sizeof(short));
3652 uint32_t temp = 44 + total * channelCount * sizeof(short) - 8;
3655 temp = total * channelCount * sizeo
4168 uint8_t channelCount = popcount(channelMask); local
5546 uint32_t channelCount = mChannelCount; local
6547 int channelCount; local
6752 int channelCount; local
[all...]
H A DAudioFlinger.h116 virtual int channelCount(audio_io_handle_t output) const;
420 int channelCount() const { return mChannelCount; } function in class:android::AudioFlinger::ThreadBase::TrackBase
557 int channelCount() const { return mChannelCount; } function in class:android::AudioFlinger::ThreadBase
/frameworks/av/media/libstagefright/
H A DAwesomePlayer.cpp2311 int32_t channelCount; local
2313 !mAudioTrack->getFormat()->findInt32(kKeyChannelCount, &channelCount)) {
2314 channelCount = 0;
2316 reply->writeInt32(channelCount);
/frameworks/ex/variablespeed/jni/
H A Dvariablespeed.cc567 size_t channelCount, SLuint32 slChannels, SLint32 audioStreamType, SLObjectItf &outputMix,
573 SLDataFormat_PCM format_pcm = {SL_DATAFORMAT_PCM, channelCount, slSampleRate,
566 CreateAndRealizeAudioPlayer(SLuint32 slSampleRate, size_t channelCount, SLuint32 slChannels, SLint32 audioStreamType, SLObjectItf &outputMix, SLObjectItf &audioPlayer, SLEngineItf &engineInterface) argument

Completed in 102 milliseconds

12