OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:mAudioTrack
(Results
1 - 15
of
15
) sorted by null
/cts/tests/tests/media/src/android/media/cts/
NonBlockingAudioTrack.java
40
private AudioTrack
mAudioTrack
;
73
mAudioTrack
= new AudioTrack(
87
int numFramesPlayed =
mAudioTrack
.getPlaybackHeadPosition();
97
mAudioTrack
.play();
103
mAudioTrack
.stop();
113
mAudioTrack
.pause();
119
mAudioTrack
.release();
120
mAudioTrack
= null;
129
return
mAudioTrack
.getPlayState();
137
int numFramesPlayed =
mAudioTrack
.getPlaybackHeadPosition()
[
all
...]
AudioTrack_ListenerTest.java
46
private AudioTrack
mAudioTrack
;
55
if (
mAudioTrack
== null) {
66
mAudioTrack
= mMakeSomething.make();
71
mAudioTrack
.setPlaybackPositionUpdateListener(mListener);
76
mAudioTrack
.setPlaybackPositionUpdateListener(mListener, mHandler);
88
assertEquals(AudioTrack.SUCCESS,
mAudioTrack
.setNotificationMarkerPosition(markerInFrames));
90
assertEquals(AudioTrack.SUCCESS,
mAudioTrack
.setPositionNotificationPeriod(periodInFrames));
95
written +=
mAudioTrack
.write(vai, written, vai.length - written);
97
mAudioTrack
.play();
111
mAudioTrack
.stop()
[
all
...]
CodecState.java
48
private NonBlockingAudioTrack
mAudioTrack
;
94
if (
mAudioTrack
!= null) {
95
mAudioTrack
.release();
96
mAudioTrack
= null;
105
if (
mAudioTrack
!= null) {
106
mAudioTrack
.play();
111
if (
mAudioTrack
!= null) {
112
mAudioTrack
.pause();
128
if (
mAudioTrack
!= null
129
&&
mAudioTrack
.getPlayState() == AudioTrack.PLAYSTATE_STOPPED)
[
all
...]
/frameworks/base/core/java/android/speech/tts/
SynthesisPlaybackQueueItem.java
63
private final BlockingAudioTrack
mAudioTrack
;
77
mAudioTrack
= new BlockingAudioTrack(audioParams, sampleRate, audioFormat, channelCount);
87
if (!
mAudioTrack
.init()) {
102
mAudioTrack
.write(buffer);
110
mAudioTrack
.waitAndRelease();
150
mAudioTrack
.stop();
181
while ((unconsumedAudioMs =
mAudioTrack
.getAudioLengthMs(mUnconsumedBytes)) >
BlockingAudioTrack.java
71
// Need to be seen by stop() which can be called from another thread.
mAudioTrack
will be
74
private AudioTrack
mAudioTrack
;
91
mAudioTrack
= null;
98
mAudioTrack
= track;
110
if (
mAudioTrack
!= null) {
111
mAudioTrack
.stop();
120
track =
mAudioTrack
;
135
track =
mAudioTrack
;
160
if (DBG) Log.d(TAG, "Waiting for audio track to complete : " +
mAudioTrack
.hashCode());
161
blockUntilDone(
mAudioTrack
);
[
all
...]
/external/chromium_org/media/base/android/java/src/org/chromium/media/
MediaCodecBridge.java
69
private AudioTrack
mAudioTrack
;
266
if (
mAudioTrack
!= null) {
267
mAudioTrack
.release();
309
if (
mAudioTrack
!= null) {
311
mAudioTrack
.pause();
312
mAudioTrack
.flush();
325
if (
mAudioTrack
!= null) {
326
mAudioTrack
.pause();
567
mAudioTrack
= new AudioTrack(AudioManager.STREAM_MUSIC, sampleRate, channelConfig,
569
if (
mAudioTrack
.getState() == AudioTrack.STATE_UNINITIALIZED)
[
all
...]
/frameworks/av/cmds/stagefright/
SimplePlayer.h
81
sp<AudioTrack>
mAudioTrack
;
/frameworks/av/include/media/
JetPlayer.h
91
sp<AudioTrack>
mAudioTrack
; // and we play it in this audio track
SoundPool.h
154
sp<AudioTrack>
mAudioTrack
;
AudioTrack.h
[
all
...]
/frameworks/av/include/media/stagefright/
AudioPlayer.h
83
sp<AudioTrack>
mAudioTrack
;
/frameworks/av/media/libmediaplayerservice/nuplayer/
RTSPSource.h
107
sp<AnotherPacketSource>
mAudioTrack
;
GenericSource.h
107
Track
mAudioTrack
;
/frameworks/wilhelm/src/
classes.h
101
android::sp<android::AudioTrack>
mAudioTrack
;
/frameworks/av/media/libstagefright/include/
AwesomePlayer.h
179
sp<MediaSource>
mAudioTrack
;
Completed in 663 milliseconds