OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:soundPool
(Results
1 - 10
of
10
) sorted by null
/external/jmonkeyengine/engine/src/android/com/jme3/audio/android/
AndroidAudioRenderer.java
40
import android.media.
SoundPool
;
61
SoundPool
.OnLoadCompleteListener, MediaPlayer.OnCompletionListener {
66
private
SoundPool
soundPool
= null;
86
soundPool
= new
SoundPool
(MAX_NUM_CHANNELS, AudioManager.STREAM_MUSIC,
88
soundPool
.setOnLoadCompleteListener(this);
183
soundPool
.setVolume(src.getChannel(), src.getVolume(),
277
if (
soundPool
!= null) {
278
soundPool
.release();
[
all
...]
/frameworks/base/media/java/android/media/
MediaActionSound.java
20
import android.media.
SoundPool
;
45
private
SoundPool
mSoundPool;
97
mSoundPool = new
SoundPool
(NUM_MEDIA_SOUND_STREAMS,
171
private
SoundPool
.OnLoadCompleteListener mLoadCompleteListener =
172
new
SoundPool
.OnLoadCompleteListener() {
173
public void onLoadComplete(
SoundPool
soundPool
,
177
soundPool
.play(sampleId, 1.0f, 1.0f, 0, 0, 1.0f);
SoundPool.java
36
* The
SoundPool
class manages and plays audio resources for applications.
38
* <p>A
SoundPool
is a collection of samples that can be loaded into memory
40
*
SoundPool
library uses the MediaPlayer service to decode the audio
45
* <p>In addition to low-latency playback,
SoundPool
can also manage the number
46
* of audio streams being rendered at once. When the
SoundPool
object is
48
* that can be played at a time from this single
SoundPool
.
SoundPool
tracks
50
*
SoundPool
will automatically stop a previously playing stream based first
71
* the
SoundPool
was created. In this case, the stream allocator will stop
80
* by that level. In this case, the game logic should create a new
SoundPool
[
all
...]
AudioService.java
190
private
SoundPool
mSoundPool;
207
* uses
soundpool
(second column) */
389
// listener for
SoundPool
sample load completion indication
391
// thread for
SoundPool
listener
393
// message looper for
SoundPool
listener
[
all
...]
/external/jmonkeyengine/engine/src/android/jme3test/android/
TestAmbient.java
35
import android.media.
SoundPool
;
45
SoundPool
soundPool
;
/frameworks/av/media/libmedia/
SoundPoolThread.cpp
61
SoundPoolThread::SoundPoolThread(
SoundPool
*
soundPool
) :
62
mSoundPool(
soundPool
)
SoundPool.cpp
18
#define LOG_TAG "
SoundPool
"
25
#include <media/
SoundPool
.h>
38
SoundPool
::
SoundPool
(int maxChannels, audio_stream_type_t streamType, int srcQuality)
40
ALOGV("
SoundPool
constructor: maxChannels=%d, streamType=%d, srcQuality=%d",
74
SoundPool
::~
SoundPool
()
76
ALOGV("
SoundPool
destructor");
93
void
SoundPool
::addToRestartList(SoundChannel* channel)
102
void
SoundPool
::addToStopList(SoundChannel* channel
[
all
...]
/frameworks/av/include/media/
SoundPool.h
35
class
SoundPool
;
49
typedef void SoundPoolCallback(SoundPoolEvent event,
SoundPool
*
soundPool
, void* user);
127
void init(
SoundPool
*
soundPool
);
153
SoundPool
* mSoundPool;
166
class
SoundPool
{
170
SoundPool
(int maxChannels, audio_stream_type_t streamType, int srcQuality);
171
~
SoundPool
();
200
SoundPool
() {} // no default constructo
[
all
...]
/frameworks/base/media/jni/soundpool/
android_media_SoundPool_SoundPoolImpl.cpp
20
#define LOG_TAG "
SoundPool
-JNI"
26
#include <media/
SoundPool
.h>
36
static inline
SoundPool
* MusterSoundPool(JNIEnv *env, jobject thiz) {
37
return (
SoundPool
*)env->GetIntField(thiz, fields.mNativeContext);
45
SoundPool
*ap = MusterSoundPool(env, thiz);
61
SoundPool
*ap = MusterSoundPool(env, thiz);
70
SoundPool
*ap = MusterSoundPool(env, thiz);
81
SoundPool
*ap = MusterSoundPool(env, thiz);
90
SoundPool
*ap = MusterSoundPool(env, thiz);
99
SoundPool
*ap = MusterSoundPool(env, thiz)
[
all
...]
/frameworks/base/media/tests/SoundPoolTest/src/com/android/
SoundPoolTest.java
29
import android.media.
SoundPool
;
30
import android.media.
SoundPool
.OnLoadCompleteListener;
69
private
SoundPool
mSoundPool = null;
77
super("
SoundPool
.TestThread");
81
android.media.
SoundPool
.OnLoadCompleteListener {
82
public void onLoadComplete(
SoundPool
soundPool
, int sampleId, int status) {
114
mSoundPool = new
SoundPool
(numStreams, AudioSystem.STREAM_MUSIC, 0);
Completed in 327 milliseconds