Home
last modified time | relevance | path

Searched refs:audioSessionId (Results 1 – 16 of 16) sorted by relevance

/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/audio/
DDefaultAudioSink.java304 private int audioSessionId; field in DefaultAudioSink
376 audioSessionId = C.AUDIO_SESSION_ID_UNSET; in DefaultAudioSink()
537 .buildAudioTrack(tunneling, audioAttributes, audioSessionId); in initialize()
538 int audioSessionId = audioTrack.getAudioSessionId(); in initialize() local
544 && audioSessionId != keepSessionIdAudioTrack.getAudioSessionId()) { in initialize()
548 keepSessionIdAudioTrack = initializeKeepSessionIdAudioTrack(audioSessionId); in initialize()
552 if (this.audioSessionId != audioSessionId) { in initialize()
553 this.audioSessionId = audioSessionId; in initialize()
555 listener.onAudioSessionId(audioSessionId); in initialize()
909 audioSessionId = C.AUDIO_SESSION_ID_UNSET; in setAudioAttributes()
[all …]
DAudioRendererEventListener.java48 default void onAudioSessionId(int audioSessionId) {} in onAudioSessionId() argument
173 public void audioSessionId(final int audioSessionId) { in audioSessionId() method in AudioRendererEventListener.EventDispatcher
175 handler.post(() -> castNonNull(listener).onAudioSessionId(audioSessionId)); in audioSessionId()
DAudioSink.java65 void onAudioSessionId(int audioSessionId); in onAudioSessionId() argument
308 void setAudioSessionId(int audioSessionId); in setAudioSessionId() argument
DForwardingAudioSink.java143 public void setAudioSessionId(int audioSessionId) { in setAudioSessionId() argument
144 sink.setAudioSessionId(audioSessionId); in setAudioSessionId()
DDecoderAudioRenderer.java282 protected void onAudioSessionId(int audioSessionId) { in onAudioSessionId() argument
690 public void onAudioSessionId(int audioSessionId) { in onAudioSessionId() argument
691 eventDispatcher.audioSessionId(audioSessionId); in onAudioSessionId()
692 DecoderAudioRenderer.this.onAudioSessionId(audioSessionId); in onAudioSessionId()
DAudioListener.java26 default void onAudioSessionId(int audioSessionId) {} in onAudioSessionId() argument
DMediaCodecAudioRenderer.java477 protected void onAudioSessionId(int audioSessionId) { in onAudioSessionId() argument
838 public void onAudioSessionId(int audioSessionId) { in onAudioSessionId() argument
839 eventDispatcher.audioSessionId(audioSessionId); in onAudioSessionId()
840 MediaCodecAudioRenderer.this.onAudioSessionId(audioSessionId); in onAudioSessionId()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/
DSimpleExoPlayer.java375 private int audioSessionId; field in SimpleExoPlayer
454 audioSessionId = C.AUDIO_SESSION_ID_UNSET; in SimpleExoPlayer()
732 public void setAudioSessionId(int audioSessionId) { in setAudioSessionId() argument
734 if (this.audioSessionId == audioSessionId) { in setAudioSessionId()
737 this.audioSessionId = audioSessionId; in setAudioSessionId()
743 .setPayload(audioSessionId) in setAudioSessionId()
747 if (audioSessionId != C.AUDIO_SESSION_ID_UNSET) { in setAudioSessionId()
754 return audioSessionId; in getAudioSessionId()
1916 audioListener.onAudioSessionId(audioSessionId); in notifyAudioSessionIdSet()
1920 audioDebugListener.onAudioSessionId(audioSessionId); in notifyAudioSessionIdSet()
[all …]
DPlayer.java140 void setAudioSessionId(int audioSessionId); in setAudioSessionId() argument
/external/oboe/docs/notes/
Deffects.md32 int audioSessionId = audioManager.generateAudioSessionId();
34 Pass the audioSessionId to your C++ code using JNI. Then use it when opening your Oboe streams:
/external/exoplayer/tree/testutils/src/main/java/com/google/android/exoplayer2/testutil/
DFakeAudioRenderer.java67 eventDispatcher.audioSessionId(/* audioSessionId= */ 1); in shouldProcessBuffer()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowMediaPlayer.java415 private int audioSessionId; field in ShadowMediaPlayer
543 audioSessionId = random.nextInt(Integer.MAX_VALUE) + 1; in __constructor__()
1044 return audioSessionId;
1125 audioSessionId = sessionId;
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/analytics/
DAnalyticsListener.java431 default void onAudioSessionId(EventTime eventTime, int audioSessionId) {} in onAudioSessionId() argument
DAnalyticsCollector.java207 public final void onAudioSessionId(int audioSessionId) { in onAudioSessionId() argument
210 listener.onAudioSessionId(eventTime, audioSessionId); in onAudioSessionId()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/util/
DEventLogger.java305 public void onAudioSessionId(EventTime eventTime, int audioSessionId) { in onAudioSessionId() argument
306 logd(eventTime, "audioSessionId", Integer.toString(audioSessionId)); in onAudioSessionId()
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/analytics/
DAnalyticsCollectorTest.java1458 public void onAudioSessionId(EventTime eventTime, int audioSessionId) { in onAudioSessionId() argument