Searched refs:mAudioTrack (Results 1 – 3 of 3) sorted by relevance
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/audio/ |
D | AudioTrackWrapper.java | 34 private final AudioTrack mAudioTrack = new AudioTrack(); field in AudioTrackWrapper 47 return mIsEnabled && mAudioTrack.isInitialized(); in isInitialized() 51 if (mAudioTrack.isInitialized()) { in restart() 52 mAudioTrack.release(); in restart() 60 mAudioTrack.release(); in release() 69 mAudioTrack.initialize(mAudioSessionID); in initialize() 71 mAudioSessionID = mAudioTrack.initialize(); in initialize() 79 mAudioTrack.reset(); in reset() 83 return !mIsEnabled || !mAudioTrack.hasPendingData(); in isEnded() 88 return !mIsEnabled || mAudioTrack.hasPendingData(); in isReady() [all …]
|
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/system/development/audio/ |
D | AudioDebug.java | 51 private AudioTrack mAudioTrack; field in AudioDebug 108 mAudioTrack = in onAudioRecorded() 126 Log.i(TAG, String.format("AudioTrack state: %d", mAudioTrack.getState())); in onAudioRecorded() 128 int writeStatus = mAudioTrack.write(audioBuffer.array(), 0, numShorts, in onAudioRecorded() 161 if (mAudioTrack == null) { in playAudio() 164 mAudioTrack.stop(); in playAudio() 165 mAudioTrack.reloadStaticData(); in playAudio() 166 mAudioTrack.setPlaybackHeadPosition(0); in playAudio() 167 mAudioTrack.setVolume(1.0f); in playAudio() 168 mAudioTrack.play(); in playAudio()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/development/audio/ |
D | AudioDebug.java | 51 private AudioTrack mAudioTrack; field in AudioDebug 108 mAudioTrack = in onAudioRecorded() 126 Log.i(TAG, String.format("AudioTrack state: %d", mAudioTrack.getState())); in onAudioRecorded() 128 int writeStatus = mAudioTrack.write(audioBuffer.array(), 0, numShorts, in onAudioRecorded() 161 if (mAudioTrack == null) { in playAudio() 164 mAudioTrack.stop(); in playAudio() 165 mAudioTrack.reloadStaticData(); in playAudio() 166 mAudioTrack.setPlaybackHeadPosition(0); in playAudio() 167 mAudioTrack.setVolume(1.0f); in playAudio() 168 mAudioTrack.play(); in playAudio()
|