OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:sampleRateInHz
(Results
1 - 23
of
23
) sorted by null
/frameworks/base/core/java/android/speech/tts/
SynthesisCallback.java
48
* @param
sampleRateInHz
Sample rate in HZ of the generated audio.
55
public int start(int
sampleRateInHz
, int audioFormat, int channelCount);
FileSynthesisCallback.java
105
public int start(int
sampleRateInHz
, int audioFormat, int channelCount) {
107
Log.d(TAG, "FileSynthesisRequest.start(" +
sampleRateInHz
+ "," + audioFormat
125
mSampleRateInHz =
sampleRateInHz
;
194
int
sampleRateInHz
= 0;
220
sampleRateInHz
= mSampleRateInHz;
230
makeWavHeader(
sampleRateInHz
, audioFormat, channelCount, dataLength));
279
private ByteBuffer makeWavHeader(int
sampleRateInHz
, int audioFormat, int channelCount,
282
int byteRate =
sampleRateInHz
* sampleSizeInBytes * channelCount;
297
header.putInt(
sampleRateInHz
);
PlaybackSynthesisCallback.java
122
public int start(int
sampleRateInHz
, int audioFormat, int channelCount) {
123
if (DBG) Log.d(TAG, "start(" +
sampleRateInHz
+ "," + audioFormat + "," + channelCount
147
mAudioParams,
sampleRateInHz
, audioFormat, channelCount,
/cts/tests/tests/media/src/android/media/cts/
AudioRecord_BufferSizeTest.java
62
private void record(int
sampleRateInHz
) {
63
int bufferSize = AudioRecord.getMinBufferSize(
sampleRateInHz
, CHANNEL_CONFIG, AUDIO_FORMAT);
67
createAudioRecord(
sampleRateInHz
, bufferSize);
81
private void createAudioRecord(final int
sampleRateInHz
, final int bufferSize) {
82
mAudioRecord = new AudioRecord(AudioSource.DEFAULT,
sampleRateInHz
,
AudioTrackTest.java
98
+ ",
sampleRateInHz
="
[
all
...]
/frameworks/base/media/java/android/media/
AudioTrack.java
292
* @param
sampleRateInHz
the initial source sample rate expressed in Hz.
313
public AudioTrack(int streamType, int
sampleRateInHz
, int channelConfig, int audioFormat,
316
this(streamType,
sampleRateInHz
, channelConfig, audioFormat,
336
* @param
sampleRateInHz
the initial source sample rate expressed in Hz.
355
public AudioTrack(int streamType, int
sampleRateInHz
, int channelConfig, int audioFormat,
365
.setSampleRate(
sampleRateInHz
)
483
private void audioParamCheck(int
sampleRateInHz
,
487
if (
sampleRateInHz
< SAMPLE_RATE_HZ_MIN ||
sampleRateInHz
> SAMPLE_RATE_HZ_MAX) {
488
throw new IllegalArgumentException(
sampleRateInHz
[
all
...]
AudioRecord.java
206
* @param
sampleRateInHz
the sample rate expressed in Hertz. 44100Hz is currently the only
223
public AudioRecord(int audioSource, int
sampleRateInHz
, int channelConfig, int audioFormat,
233
.setSampleRate(
sampleRateInHz
)
372
private void audioParamCheck(int audioSource, int
sampleRateInHz
, int audioFormat)
387
if ( (
sampleRateInHz
< 4000) || (
sampleRateInHz
> 48000) ) {
388
throw new IllegalArgumentException(
sampleRateInHz
391
mSampleRate =
sampleRateInHz
;
540
* @param
sampleRateInHz
the sample rate expressed in Hertz.
553
static public int getMinBufferSize(int
sampleRateInHz
, int channelConfig, int audioFormat)
[
all
...]
/frameworks/base/media/java/android/media/projection/
MediaProjection.java
147
int
sampleRateInHz
, int channelConfig,
/frameworks/base/core/jni/
android_media_AudioTrack.cpp
730
jint
sampleRateInHz
) {
737
return nativeToJavaStatus(lpTrack->setSampleRate(
sampleRateInHz
));
[
all
...]
/external/chromium_org/third_party/android_platform/webview/
frameworks.jar
/external/robolectric/lib/main/
android.jar
/prebuilts/sdk/14/
android.jar
/prebuilts/sdk/15/
android.jar
/prebuilts/sdk/18/
android.jar
/prebuilts/sdk/19/
android.jar
/prebuilts/sdk/20/
android.jar
/external/chromium_org/third_party/libaddressinput/src/java/
android.jar
/prebuilts/sdk/4/
android.jar
/prebuilts/sdk/5/
android.jar
/prebuilts/sdk/6/
android.jar
/prebuilts/sdk/8/
android.jar
/prebuilts/tools/common/api-versions/android-3/
android.jar
/prebuilts/sdk/12/
android.jar
Completed in 1387 milliseconds