/frameworks/base/core/java/android/speech/tts/ |
SynthesisCallback.java | 48 * @param channelCount The number of channels. Must be {@code 1} or {@code 2}. 51 public int start(int sampleRateInHz, int audioFormat, int channelCount);
|
FileSynthesisCallback.java | 109 public int start(int sampleRateInHz, int audioFormat, int channelCount) { 112 + "," + channelCount + ")"); 125 mChannelCount = channelCount; 202 private byte[] makeWavHeader(int sampleRateInHz, int audioFormat, int channelCount, 206 int byteRate = sampleRateInHz * sampleSizeInBytes * channelCount; 207 short blockAlign = (short) (sampleSizeInBytes * channelCount); 220 header.putShort((short) channelCount);
|
PlaybackSynthesisCallback.java | 142 public int start(int sampleRateInHz, int audioFormat, int channelCount) { 145 + "," + channelCount + ")"); 148 int channelConfig = AudioPlaybackHandler.getChannelConfig(channelCount); 150 Log.e(TAG, "Unsupported number of channels :" + channelCount); 160 mStreamType, sampleRateInHz, audioFormat, channelCount, mVolume, mPan,
|
SynthesisMessageParams.java | 59 int audioFormat, int channelCount, 67 mChannelCount = channelCount;
|
/system/media/wilhelm/src/android/ |
android_sles_conversions.h | 87 static inline uint32_t channelCountToMask(uint32_t channelCount) 92 switch (channelCount) {
|
AacBqToPcmCbRenderer.cpp | 214 int32_t channelCount; 215 CHECK(meta->findInt32(kKeyChannelCount, &channelCount)); 229 mPcmFormatValues[ANDROID_KEY_INDEX_PCMFORMAT_NUMCHANNELS] = channelCount; 231 channelCountToMask(channelCount); 234 channelCount, sr);
|
android_AudioSfDecoder.cpp | 263 int32_t channelCount; 264 bool hasChannelCount = meta->findInt32(kKeyChannelCount, &channelCount); 325 CHECK(meta->findInt32(kKeyChannelCount, &channelCount)); 349 mPcmFormatValues[ANDROID_KEY_INDEX_PCMFORMAT_NUMCHANNELS] = channelCount; 351 channelCountToMask(channelCount); 757 int32_t channelCount; 758 CHECK(meta->findInt32(kKeyChannelCount, &channelCount)); 768 sr, channelCount); 769 mPcmFormatValues[ANDROID_KEY_INDEX_PCMFORMAT_NUMCHANNELS] = channelCount; 772 channelCountToMask(channelCount); [all...] |
android_GenericMediaPlayer.cpp | 466 int32_t channelCount; 470 channelCount = reply->readInt32(); 473 channelCount = 2; 475 if (UNKNOWN_NUMCHANNELS != channelCount) { 477 notify(PLAYEREVENT_CHANNEL_COUNT, channelCount, true /*async*/);
|
/hardware/libhardware_legacy/audio/ |
AudioHardwareInterface.cpp | 110 size_t AudioHardwareBase::getInputBufferSize(uint32_t sampleRate, int format, int channelCount) 120 if (channelCount != 1) { 121 LOGW("getInputBufferSize bad channel count: %d", channelCount);
|
/external/webkit/Source/WebKit/android/plugins/ |
ANPSoundInterface.cpp | 73 dst.channelCount = src->channelCount; 92 int channelCount, 103 (channelCount > 1) ? AUDIO_CHANNEL_OUT_STEREO : AUDIO_CHANNEL_OUT_MONO,
|
/hardware/libhardware_legacy/include/hardware_legacy/ |
AudioHardwareBase.h | 48 virtual size_t getInputBufferSize(uint32_t sampleRate, int format, int channelCount);
|
/frameworks/media/libvideoeditor/lvpp/ |
DummyAudioSource.h | 41 int32_t channelCount, 53 int32_t channelCount,
|
DummyAudioSource.cpp | 59 int32_t channelCount, 64 channelCount, 72 int32_t channelCount, 76 mChannelCount(channelCount), 87 LOG2("DummyAudioSource:: mChannelCount = %d",channelCount);
|
VideoEditorPlayer.cpp | 353 ssize_t VideoEditorPlayer::VeAudioOutput::channelCount() const 356 return mTrack->channelCount(); 382 uint32_t sampleRate, int channelCount, int format, int bufferCount, 395 LOGV("open(%u, %d, %d, %d)", sampleRate, channelCount, format, bufferCount); 418 (channelCount == 2) ? 429 (channelCount == 2) ?
|
VideoEditorPlayer.h | 44 virtual ssize_t channelCount() const; 52 uint32_t sampleRate, int channelCount,
|
/system/media/audio_utils/include/audio_utils/ |
resampler.h | 97 uint32_t channelCount,
|
/frameworks/base/include/media/ |
AudioRecord.h | 69 int channelCount; 115 int channelCount); 206 int channelCount() const;
|
IAudioFlinger.h | 75 virtual int channelCount(int output) const = 0; 112 virtual size_t getInputBufferSize(uint32_t sampleRate, int format, int channelCount) = 0;
|
MediaPlayerInterface.h | 77 virtual ssize_t channelCount() const = 0; 87 uint32_t sampleRate, int channelCount,
|
/external/svox/pico/compat/jni/ |
tts.h | 123 int channelCount,
|
/system/media/audio_utils/ |
resampler.c | 191 uint32_t channelCount, 200 inSampleRate, outSampleRate, channelCount); 214 rsmp->speex_resampler = speex_resampler_init(channelCount, 232 rsmp->channel_count = channelCount;
|
/frameworks/base/media/libmedia/ |
AudioRecord.cpp | 54 int channelCount) 57 if (AudioSystem::getInputBufferSize(sampleRate, format, channelCount, &size) 64 LOGE("Unsupported configuration: sampleRate %d, format %d, channelCount %d", 65 sampleRate, format, channelCount); 73 size /= channelCount * audio_bytes_per_sample(format); 164 int channelCount = popcount(channelMask); 186 status_t status = getMinFrameCount(&minFrameCount, sampleRate, format, channelCount); 221 mChannelCount = (uint8_t)channelCount; 259 int AudioRecord::channelCount() const 272 return channelCount()*audio_bytes_per_sample(mFormat) [all...] |
/frameworks/base/media/java/android/media/ |
AudioRecord.java | 461 int channelCount = 0; 466 channelCount = 1; 470 channelCount = 2; 484 int size = native_get_min_buff_size(sampleRateInHz, channelCount, audioFormat); 809 int sampleRateInHz, int channelCount, int audioFormat);
|
/frameworks/base/media/libmediaplayerservice/ |
MediaPlayerService.h | 77 virtual ssize_t channelCount() const; 85 uint32_t sampleRate, int channelCount, 134 virtual ssize_t channelCount() const { return (ssize_t)mChannelCount; } 142 uint32_t sampleRate, int channelCount, int format,
|
/frameworks/base/media/libstagefright/ |
AMRWriter.cpp | 90 int32_t channelCount; 92 CHECK(meta->findInt32(kKeyChannelCount, &channelCount)); 93 CHECK_EQ(channelCount, 1);
|