Lines Matching refs:session

356      * Audio session ID
436 * Class constructor with audio session. Use this constructor when the AudioTrack must be
437 * attached to a particular audio session. The primary use of the audio session ID is to
438 * associate audio effects to a particular instance of AudioTrack: if an audio session ID
440 * and media players in the same session and not to the output mix.
441 * When an AudioTrack is created without specifying a session, it will create its own session
443 * If a non-zero session ID is provided, this AudioTrack will share effects attached to this
444 * session
445 * with all other media players or audio tracks in the same session, otherwise a new session
480 * @param sessionId Id of audio session the AudioTrack must be attached to
527 * @param sessionId ID of audio session the AudioTrack must be attached to, or
528 * {@link AudioManager#AUDIO_SESSION_ID_GENERATE} if the session isn't known at construction
529 * time. See also {@link AudioManager#generateAudioSessionId()} to obtain a session ID before
588 throw new IllegalArgumentException("Invalid audio session ID: "+sessionId);
592 int[] session = new int[1];
593 session[0] = sessionId;
597 mNativeBufferSizeInBytes, mDataLoadMode, session, 0 /*nativeTrackInJavaObj*/);
604 mSessionId = session[0];
656 int[] session = { 0 };
666 session,
673 mSessionId = session[0];
713 * <br>If the session ID is not specified with {@link #setSessionId(int)}, a new one will
809 * Sets the session ID the {@link AudioTrack} will be attached to.
820 throw new IllegalArgumentException("Invalid audio session ID " + sessionId);
1545 * Returns the audio session ID.
1547 * @return the ID of the audio session this AudioTrack belongs to.