OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:SAMPLES_PER_FRAME
(Results
1 - 12
of
12
) sorted by null
/frameworks/base/media/java/android/media/
AmrInputStream.java
36
private final static int
SAMPLES_PER_FRAME
= 8000 * 20 / 1000;
45
private final byte[] mBuf = new byte[
SAMPLES_PER_FRAME
* 2];
84
for (int i = 0; i <
SAMPLES_PER_FRAME
* 2; ) {
85
int n = mInputStream.read(mBuf, i,
SAMPLES_PER_FRAME
* 2 - i);
/developers/build/prebuilts/gradle/MidiScope/Application/src/main/java/com/example/android/common/midi/synth/
SimpleAudioOutput.java
31
public static final int
SAMPLES_PER_FRAME
= 2;
33
public static final int BYTES_PER_FRAME =
SAMPLES_PER_FRAME
* BYTES_PER_SAMPLE;
SynthEngine.java
42
private static final int
SAMPLES_PER_FRAME
= 2;
46
private float[] mBuffer = new float[FRAMES_PER_BUFFER *
SAMPLES_PER_FRAME
];
192
voice.mix(mBuffer,
SAMPLES_PER_FRAME
, 0.25f);
/developers/build/prebuilts/gradle/MidiSynth/Application/src/main/java/com/example/android/common/midi/synth/
SimpleAudioOutput.java
31
public static final int
SAMPLES_PER_FRAME
= 2;
33
public static final int BYTES_PER_FRAME =
SAMPLES_PER_FRAME
* BYTES_PER_SAMPLE;
SynthEngine.java
42
private static final int
SAMPLES_PER_FRAME
= 2;
46
private float[] mBuffer = new float[FRAMES_PER_BUFFER *
SAMPLES_PER_FRAME
];
192
voice.mix(mBuffer,
SAMPLES_PER_FRAME
, 0.25f);
/developers/samples/android/common/src/java/com/example/android/common/midi/synth/
SimpleAudioOutput.java
31
public static final int
SAMPLES_PER_FRAME
= 2;
33
public static final int BYTES_PER_FRAME =
SAMPLES_PER_FRAME
* BYTES_PER_SAMPLE;
SynthEngine.java
42
private static final int
SAMPLES_PER_FRAME
= 2;
46
private float[] mBuffer = new float[FRAMES_PER_BUFFER *
SAMPLES_PER_FRAME
];
192
voice.mix(mBuffer,
SAMPLES_PER_FRAME
, 0.25f);
/development/samples/browseable/MidiScope/src/com.example.android.common.midi/synth/
SimpleAudioOutput.java
31
public static final int
SAMPLES_PER_FRAME
= 2;
33
public static final int BYTES_PER_FRAME =
SAMPLES_PER_FRAME
* BYTES_PER_SAMPLE;
SynthEngine.java
42
private static final int
SAMPLES_PER_FRAME
= 2;
46
private float[] mBuffer = new float[FRAMES_PER_BUFFER *
SAMPLES_PER_FRAME
];
192
voice.mix(mBuffer,
SAMPLES_PER_FRAME
, 0.25f);
/development/samples/browseable/MidiSynth/src/com.example.android.common.midi/synth/
SimpleAudioOutput.java
31
public static final int
SAMPLES_PER_FRAME
= 2;
33
public static final int BYTES_PER_FRAME =
SAMPLES_PER_FRAME
* BYTES_PER_SAMPLE;
SynthEngine.java
42
private static final int
SAMPLES_PER_FRAME
= 2;
46
private float[] mBuffer = new float[FRAMES_PER_BUFFER *
SAMPLES_PER_FRAME
];
192
voice.mix(mBuffer,
SAMPLES_PER_FRAME
, 0.25f);
/frameworks/base/media/jni/
android_media_AmrInputStream.cpp
34
static const int
SAMPLES_PER_FRAME
= ((SAMPLING_RATE_HZ * FRAME_DURATION_MS) / 1000);
36
static const int BYTES_PER_FRAME = (
SAMPLES_PER_FRAME
* BYTES_PER_SAMPLE);
Completed in 212 milliseconds