Home
last modified time | relevance | path

Searched refs:sampleRateInHz (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/core/java/android/speech/tts/
DFileSynthesisCallback.java103 public int start(int sampleRateInHz, int audioFormat, int channelCount) { in start() argument
105 Log.d(TAG, "FileSynthesisRequest.start(" + sampleRateInHz + "," + audioFormat in start()
115 mDispatcher.dispatchOnBeginSynthesis(sampleRateInHz, audioFormat, channelCount); in start()
132 mSampleRateInHz = sampleRateInHz; in start()
203 int sampleRateInHz = 0; in done() local
228 sampleRateInHz = mSampleRateInHz; in done()
238 makeWavHeader(sampleRateInHz, audioFormat, channelCount, dataLength)); in done()
285 private ByteBuffer makeWavHeader(int sampleRateInHz, int audioFormat, int channelCount, in makeWavHeader() argument
288 int byteRate = sampleRateInHz * sampleSizeInBytes * channelCount; in makeWavHeader()
303 header.putInt(sampleRateInHz); in makeWavHeader()
DPlaybackSynthesisCallback.java125 public int start(int sampleRateInHz, int audioFormat, int channelCount) { in start() argument
126 if (DBG) Log.d(TAG, "start(" + sampleRateInHz + "," + audioFormat + "," + channelCount in start()
135 mDispatcher.dispatchOnBeginSynthesis(sampleRateInHz, audioFormat, channelCount); in start()
158 mAudioParams, sampleRateInHz, audioFormat, channelCount, in start()
DITextToSpeechCallback.aidl71 … void onBeginSynthesis(String utteranceId, int sampleRateInHz, int audioFormat, int channelCount); in onBeginSynthesis() argument
DSynthesisCallback.java73 int sampleRateInHz, in start() argument
DUtteranceProgressListener.java99 …public void onBeginSynthesis(String utteranceId, int sampleRateInHz, int audioFormat, int channelC… in onBeginSynthesis() argument
DTextToSpeechService.java686 void dispatchOnBeginSynthesis(int sampleRateInHz, int audioFormat, int channelCount); in dispatchOnBeginSynthesis() argument
895 … public void dispatchOnBeginSynthesis(int sampleRateInHz, int audioFormat, int channelCount) { in dispatchOnBeginSynthesis() argument
898 …Callbacks.dispatchOnBeginSynthesis(getCallerIdentity(), utteranceId, sampleRateInHz, audioFormat, … in dispatchOnBeginSynthesis() local
1576 …patchOnBeginSynthesis(Object callerIdentity, String utteranceId, int sampleRateInHz, int audioForm… in dispatchOnBeginSynthesis() argument
1580 cb.onBeginSynthesis(utteranceId, sampleRateInHz, audioFormat, channelCount); in dispatchOnBeginSynthesis()
DTextToSpeech.java2257 int sampleRateInHz,
2263 utteranceId, sampleRateInHz, audioFormat, channelCount);
/frameworks/base/media/java/android/media/
DAudioTrack.java693 public AudioTrack(int streamType, int sampleRateInHz, int channelConfig, int audioFormat, in AudioTrack() argument
696 this(streamType, sampleRateInHz, channelConfig, audioFormat, in AudioTrack()
751 public AudioTrack(int streamType, int sampleRateInHz, int channelConfig, int audioFormat, in AudioTrack() argument
761 .setSampleRate(sampleRateInHz) in AudioTrack()
1846 private void audioParamCheck(int sampleRateInHz, int channelConfig, int channelIndexMask, in audioParamCheck() argument
1850 if ((sampleRateInHz < AudioFormat.SAMPLE_RATE_HZ_MIN || in audioParamCheck()
1851 sampleRateInHz > AudioFormat.SAMPLE_RATE_HZ_MAX) && in audioParamCheck()
1852 sampleRateInHz != AudioFormat.SAMPLE_RATE_UNSPECIFIED) { in audioParamCheck()
1853 throw new IllegalArgumentException(sampleRateInHz in audioParamCheck()
1856 mSampleRate = sampleRateInHz; in audioParamCheck()
[all …]
DAudioRecord.java328 public AudioRecord(int audioSource, int sampleRateInHz, int channelConfig, int audioFormat, in AudioRecord() argument
338 .setSampleRate(sampleRateInHz) in AudioRecord()
1143 private void audioParamCheck(int audioSource, int sampleRateInHz, int audioFormat) in audioParamCheck() argument
1160 if ((sampleRateInHz < AudioFormat.SAMPLE_RATE_HZ_MIN || in audioParamCheck()
1161 sampleRateInHz > AudioFormat.SAMPLE_RATE_HZ_MAX) && in audioParamCheck()
1162 sampleRateInHz != AudioFormat.SAMPLE_RATE_UNSPECIFIED) { in audioParamCheck()
1163 throw new IllegalArgumentException(sampleRateInHz in audioParamCheck()
1166 mSampleRate = sampleRateInHz; in audioParamCheck()
1402 static public int getMinBufferSize(int sampleRateInHz, int channelConfig, int audioFormat) { in getMinBufferSize() argument
1421 int size = native_get_min_buff_size(sampleRateInHz, channelCount, audioFormat); in getMinBufferSize()
[all …]
/frameworks/base/core/jni/
Dandroid_media_AudioTrack.cpp802 jint sampleRateInHz) { in android_media_AudioTrack_set_playback_rate() argument
809 return nativeToJavaStatus(lpTrack->setSampleRate(sampleRateInHz)); in android_media_AudioTrack_set_playback_rate()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...