/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/ |
AudioSample.java | 22 public final int channelCount; 25 public AudioSample(int sampleRate, int channelCount, byte[] bytes) { 27 this.channelCount = channelCount;
|
/external/chromium_org/third_party/WebKit/Source/modules/webaudio/ |
DefaultAudioDestinationNode.cpp | 83 m_destination = AudioDestination::create(*this, m_inputDeviceId, m_numberOfInputChannels, channelCount(), hardwareSampleRate); 114 void DefaultAudioDestinationNode::setChannelCount(unsigned long channelCount, ExceptionState& exceptionState) 116 // The channelCount for the input to this node controls the actual number of channels we 122 if (!maxChannelCount() || channelCount > maxChannelCount()) { 126 "channelCount", 128 "channel count (" + String::number(channelCount) 134 unsigned long oldChannelCount = this->channelCount(); 135 AudioNode::setChannelCount(channelCount, exceptionState); 137 if (!exceptionState.hadException() && this->channelCount() != oldChannelCount && isInitialized()) {
|
AudioNode.idl | 33 [RaisesException=Setter] attribute unsigned long channelCount;
|
AudioNode.cpp | 261 unsigned long AudioNode::channelCount() 266 void AudioNode::setChannelCount(unsigned long channelCount, ExceptionState& exceptionState) 271 if (channelCount > 0 && channelCount <= AudioContext::maxNumberOfChannels()) { 272 if (m_channelCount != channelCount) { 273 m_channelCount = channelCount; 280 "channel count (" + String::number(channelCount) + ") must be between 1 and " + String::number(AudioContext::maxNumberOfChannels()) + ".");
|
AudioNodeInput.cpp | 153 return node()->channelCount(); 166 maxChannels = min(maxChannels, static_cast<unsigned>(node()->channelCount()));
|
/frameworks/base/core/java/android/speech/tts/ |
SynthesisCallback.java | 49 * @param channelCount The number of channels. Must be {@code 1} or {@code 2}. 52 public int start(int sampleRateInHz, int audioFormat, int channelCount);
|
FileSynthesisCallback.java | 99 public int start(int sampleRateInHz, int audioFormat, int channelCount) { 102 + "," + channelCount + ")"); 116 mChannelCount = channelCount; 198 private ByteBuffer makeWavHeader(int sampleRateInHz, int audioFormat, int channelCount, 202 int byteRate = sampleRateInHz * sampleSizeInBytes * channelCount; 203 short blockAlign = (short) (sampleSizeInBytes * channelCount); 216 header.putShort((short) channelCount);
|
PlaybackSynthesisCallback.java | 137 public int start(int sampleRateInHz, int audioFormat, int channelCount) { 140 + "," + channelCount + ")"); 143 int channelConfig = BlockingAudioTrack.getChannelConfig(channelCount); 145 Log.e(TAG, "Unsupported number of channels :" + channelCount); 155 mStreamType, sampleRateInHz, audioFormat, channelCount, mVolume, mPan,
|
BlockingAudioTrack.java | 77 int audioFormat, int channelCount, 82 mChannelCount = channelCount; 175 static int getChannelConfig(int channelCount) { 176 if (channelCount == 1) { 178 } else if (channelCount == 2){
|
SynthesisPlaybackQueueItem.java | 67 int audioFormat, int channelCount, 79 channelCount, volume, pan);
|
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/sampleentry/ |
AudioSampleEntry.java | 53 private int channelCount; 74 return channelCount; 125 public void setChannelCount(int channelCount) { 126 this.channelCount = channelCount; 192 channelCount = IsoTypeReader.readUInt16(content); 244 ", channelCount=" + channelCount + 255 IsoTypeWriter.writeUInt16(byteBuffer, channelCount);
|
/frameworks/av/libvideoeditor/lvpp/ |
DummyAudioSource.h | 32 int32_t samplingRate, int32_t channelCount, 60 int32_t samplingRate, int32_t channelCount,
|
DummyAudioSource.cpp | 32 int32_t samplingRate, int32_t channelCount, 37 channelCount, 44 int32_t samplingRate, int32_t channelCount, 47 mChannelCount(channelCount), 60 ALOGV("channelCount = %d", channelCount);
|
/frameworks/wilhelm/src/android/ |
android_sles_conversions.h | 85 static inline uint32_t channelCountToMask(uint32_t channelCount) 90 switch (channelCount) {
|
AacBqToPcmCbRenderer.cpp | 184 int32_t channelCount; 185 CHECK(meta->findInt32(kKeyChannelCount, &channelCount)); 199 mPcmFormatValues[ANDROID_KEY_INDEX_PCMFORMAT_NUMCHANNELS] = channelCount; 201 channelCountToMask(channelCount); 204 channelCount, sr);
|
android_AudioSfDecoder.cpp | 265 int32_t channelCount; 266 bool hasChannelCount = meta->findInt32(kKeyChannelCount, &channelCount); 327 CHECK(meta->findInt32(kKeyChannelCount, &channelCount)); 351 mPcmFormatValues[ANDROID_KEY_INDEX_PCMFORMAT_NUMCHANNELS] = channelCount; 353 channelCountToMask(channelCount); 761 int32_t channelCount; 762 CHECK(meta->findInt32(kKeyChannelCount, &channelCount)); 772 sr, channelCount); 773 mPcmFormatValues[ANDROID_KEY_INDEX_PCMFORMAT_NUMCHANNELS] = channelCount; 776 channelCountToMask(channelCount); [all...] |
/hardware/libhardware_legacy/audio/ |
AudioHardwareInterface.cpp | 113 size_t AudioHardwareBase::getInputBufferSize(uint32_t sampleRate, int format, int channelCount) 123 if (channelCount != 1) { 124 ALOGW("getInputBufferSize bad channel count: %d", channelCount);
|
/hardware/libhardware_legacy/include/hardware_legacy/ |
AudioHardwareBase.h | 48 virtual size_t getInputBufferSize(uint32_t sampleRate, int format, int channelCount);
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/tracks/ |
AC3TrackImpl.java | 23 int channelCount; 202 channelCount = 2; 206 channelCount = 1; 210 channelCount = 2; 214 channelCount = 3; 218 channelCount = 3; 222 channelCount = 4; 226 channelCount = 4; 230 channelCount = 5; 238 channelCount++ [all...] |
/frameworks/av/media/libstagefright/ |
AudioSource.cpp | 51 audio_source_t inputSource, uint32_t sampleRate, uint32_t channelCount) 57 ALOGV("sampleRate: %d, channelCount: %d", sampleRate, channelCount); 58 CHECK(channelCount == 1 || channelCount == 2); 64 audio_channel_in_mask_from_count(channelCount)); 68 int frameCount = kMaxBufferSize / sizeof(int16_t) / channelCount; 78 audio_channel_in_mask_from_count(channelCount), 172 meta->setInt32(kKeyChannelCount, mRecord->channelCount()); 184 const int32_t nChannels = mRecord->channelCount(); [all...] |
/system/media/audio_utils/include/audio_utils/ |
resampler.h | 97 uint32_t channelCount,
|
/external/svox/pico/compat/jni/ |
tts.h | 123 int channelCount,
|
/frameworks/base/wifi/java/android/net/wifi/ |
BatchedScanSettings.java | 249 int channelCount = in.readInt(); 250 if (channelCount > 0) { 251 settings.channelSet = new ArrayList(channelCount); 252 while (channelCount-- > 0) {
|
/system/media/audio_utils/ |
resampler.c | 191 uint32_t channelCount, 200 inSampleRate, outSampleRate, channelCount); 214 rsmp->speex_resampler = speex_resampler_init(channelCount, 233 rsmp->channel_count = channelCount;
|
/frameworks/base/media/java/android/media/ |
AudioRecord.java | 451 int channelCount = 0; 456 channelCount = 1; 461 channelCount = 2; 475 int size = native_get_min_buff_size(sampleRateInHz, channelCount, audioFormat); 829 int sampleRateInHz, int channelCount, int audioFormat);
|