/frameworks/base/core/java/android/speech/tts/ |
H A D | SynthesisCallback.java | 46 * @param audioFormat Audio format of the generated audio. Must be one of 51 public int start(int sampleRateInHz, int audioFormat, int channelCount); argument
|
H A D | FileSynthesisCallback.java | 125 public int start(int sampleRateInHz, int audioFormat, int channelCount) { argument 127 Log.d(TAG, "FileSynthesisRequest.start(" + sampleRateInHz + "," + audioFormat 145 mAudioFormat = audioFormat; 229 private byte[] makeWavHeader(int sampleRateInHz, int audioFormat, int channelCount, argument 232 int sampleSizeInBytes = (audioFormat == AudioFormat.ENCODING_PCM_8BIT ? 1 : 2);
|
H A D | PlaybackSynthesisCallback.java | 137 public int start(int sampleRateInHz, int audioFormat, int channelCount) { argument 139 Log.d(TAG, "start(" + sampleRateInHz + "," + audioFormat 155 mStreamType, sampleRateInHz, audioFormat, channelCount, mVolume, mPan,
|
H A D | SynthesisPlaybackQueueItem.java | 67 int audioFormat, int channelCount, 78 mAudioTrack = new BlockingAudioTrack(streamType, sampleRate, audioFormat, 66 SynthesisPlaybackQueueItem(int streamType, int sampleRate, int audioFormat, int channelCount, float volume, float pan, UtteranceProgressDispatcher dispatcher, Object callerIdentity, EventLogger logger) argument
|
H A D | BlockingAudioTrack.java | 77 int audioFormat, int channelCount, 81 mAudioFormat = audioFormat; 232 private static int getBytesPerFrame(int audioFormat) { argument 233 if (audioFormat == AudioFormat.ENCODING_PCM_8BIT) { 235 } else if (audioFormat == AudioFormat.ENCODING_PCM_16BIT) { 76 BlockingAudioTrack(int streamType, int sampleRate, int audioFormat, int channelCount, float volume, float pan) argument
|
/frameworks/base/core/jni/ |
H A D | android_media_AudioRecord.cpp | 170 jint audioFormat, jint buffSizeInBytes, jintArray jSession) 173 //ALOGV("sampleRate=%d, audioFormat=%d, channels=%x, buffSizeInBytes=%d", 174 // sampleRateInHertz, audioFormat, channels, buffSizeInBytes); 183 if ((audioFormat != javaAudioRecordFields.PCM16) 184 && (audioFormat != javaAudioRecordFields.PCM8)) { 189 int bytesPerSample = audioFormat==javaAudioRecordFields.PCM16 ? 2 : 1; 190 audio_format_t format = audioFormat==javaAudioRecordFields.PCM16 ? 509 jint sampleRateInHertz, jint nbChannels, jint audioFormat) { 512 sampleRateInHertz, nbChannels, audioFormat); 517 (audioFormat 168 android_media_AudioRecord_setup(JNIEnv *env, jobject thiz, jobject weak_this, jint source, jint sampleRateInHertz, jint channels, jint audioFormat, jint buffSizeInBytes, jintArray jSession) argument 508 android_media_AudioRecord_get_min_buff_size(JNIEnv *env, jobject thiz, jint sampleRateInHertz, jint nbChannels, jint audioFormat) argument [all...] |
H A D | android_media_AudioTrack.cpp | 205 jint audioFormat, jint buffSizeInBytes, jint memoryMode, jintArray jSession) 207 ALOGV("sampleRate=%d, audioFormat(from Java)=%d, channel mask=%x, buffSize=%d", 208 sampleRateInHertz, audioFormat, javaChannelMask, buffSizeInBytes); 252 if ((audioFormat != javaAudioTrackFields.PCM16) && (audioFormat != javaAudioTrackFields.PCM8)) { 260 if ((audioFormat == javaAudioTrackFields.PCM8) 265 audioFormat = javaAudioTrackFields.PCM16; 271 int bytesPerSample = audioFormat == javaAudioTrackFields.PCM16 ? 2 : 1; 272 audio_format_t format = audioFormat == javaAudioTrackFields.PCM16 ? 511 jint writeToTrack(const sp<AudioTrack>& track, jint audioFormat, jbyt argument 203 android_media_AudioTrack_native_setup(JNIEnv *env, jobject thiz, jobject weak_this, jint streamType, jint sampleRateInHertz, jint javaChannelMask, jint audioFormat, jint buffSizeInBytes, jint memoryMode, jintArray jSession) argument 786 android_media_AudioTrack_get_min_buff_size(JNIEnv *env, jobject thiz, jint sampleRateInHertz, jint nbChannels, jint audioFormat) argument [all...] |
/frameworks/base/media/java/android/media/ |
H A D | AudioRecord.java | 207 * @param audioFormat the format in which the audio data is represented. 217 public AudioRecord(int audioSource, int sampleRateInHz, int channelConfig, int audioFormat, argument 228 audioParamCheck(audioSource, sampleRateInHz, channelConfig, audioFormat); 260 int channelConfig, int audioFormat) { 305 switch (audioFormat) { 311 mAudioFormat = audioFormat; 450 * @param audioFormat the format in which the audio data is represented. 460 static public int getMinBufferSize(int sampleRateInHz, int channelConfig, int audioFormat) { argument 479 if (audioFormat != AudioFormat.ENCODING_PCM_16BIT) { 484 int size = native_get_min_buff_size(sampleRateInHz, channelCount, audioFormat); 259 audioParamCheck(int audioSource, int sampleRateInHz, int channelConfig, int audioFormat) argument 801 native_setup(Object audiorecord_this, int recordSource, int sampleRate, int nbChannels, int audioFormat, int buffSizeInBytes, int[] sessionId) argument 827 native_get_min_buff_size( int sampleRateInHz, int channelCount, int audioFormat) argument [all...] |
H A D | AudioTrack.java | 251 * @param audioFormat the format in which the audio data is represented. 264 public AudioTrack(int streamType, int sampleRateInHz, int channelConfig, int audioFormat, argument 267 this(streamType, sampleRateInHz, channelConfig, audioFormat, 291 * @param audioFormat the format in which the audio data is represented. 305 public AudioTrack(int streamType, int sampleRateInHz, int channelConfig, int audioFormat, argument 315 audioParamCheck(streamType, sampleRateInHz, channelConfig, audioFormat, mode); 363 int channelConfig, int audioFormat, int mode) { 418 switch (audioFormat) { 424 mAudioFormat = audioFormat; 652 * @param audioFormat th 362 audioParamCheck(int streamType, int sampleRateInHz, int channelConfig, int audioFormat, int mode) argument 660 getMinBufferSize(int sampleRateInHz, int channelConfig, int audioFormat) argument 1206 native_setup(Object audiotrack_this, int streamType, int sampleRate, int nbChannels, int audioFormat, int buffSizeInBytes, int mode, int[] sessionId) argument 1249 native_get_min_buff_size( int sampleRateInHz, int channelConfig, int audioFormat) argument [all...] |
/frameworks/base/media/jni/mediaeditor/ |
H A D | VideoEditorClasses.h | 165 jfieldID audioFormat; member in struct:__anon11 206 jfieldID audioFormat; member in struct:__anon13
|
/frameworks/base/media/java/android/media/videoeditor/ |
H A D | MediaArtistNativeHelper.java | 1549 public int audioFormat; field in class:MediaArtistNativeHelper.EditSettings 1568 * allowed when the <code>audioFormat</code> field is set to 1571 * allowed when the <code>audioFormat</code> field is set to 1676 public int audioFormat; field in class:MediaArtistNativeHelper.Properties 2318 editSettings.audioFormat = AudioFormat.AAC; 2332 editSettings.audioFormat = AudioFormat.AAC; 2396 e.audioFormat = AudioFormat.AAC; 2492 e.audioFormat = AudioFormat.AAC; 3695 mPreviewEditSettings.audioFormat = mExportAudioCodec;
|