Home
last modified time | relevance | path

Searched refs:audioExtractor (Results 1 – 3 of 3) sorted by relevance

/cts/tests/tests/media/decoder/src/android/media/decoder/cts/
DDecodeOnlyTest.java344 MediaExtractor audioExtractor = createMediaExtractor(fileName); in testTunneledTrickPlay() local
347 int audioTrackIndex = getFirstTrackWithMimePrefix(MIME_AUDIO_PREFIX, audioExtractor); in testTunneledTrickPlay()
348 audioExtractor.selectTrack(audioTrackIndex); in testTunneledTrickPlay()
351 MediaFormat audioFormat = audioExtractor.getTrackFormat(audioTrackIndex); in testTunneledTrickPlay()
411 audioCodec.setCallback(new AudioCallback(audioCodec, audioExtractor, audioTrack, done), in testTunneledTrickPlay()
483 MediaExtractor audioExtractor = createMediaExtractor(fileName); in testTunneledPerfectSeek() local
486 int audioTrackIndex = getFirstTrackWithMimePrefix(MIME_AUDIO_PREFIX, audioExtractor); in testTunneledPerfectSeek()
487 audioExtractor.selectTrack(audioTrackIndex); in testTunneledPerfectSeek()
490 MediaFormat audioFormat = audioExtractor.getTrackFormat(audioTrackIndex); in testTunneledPerfectSeek()
501 audioExtractor.seekTo(audioSeekTime, MediaExtractor.SEEK_TO_PREVIOUS_SYNC); in testTunneledPerfectSeek()
[all …]
/cts/tests/tests/media/codec/src/android/media/codec/cts/
DExtractDecodeEditEncodeMuxTest.java402 MediaExtractor audioExtractor = null; in extractDecodeEditEncodeMux() local
433 audioExtractor = createExtractor(); in extractDecodeEditEncodeMux()
434 int audioInputTrack = getAndSelectAudioTrackIndex(audioExtractor); in extractDecodeEditEncodeMux()
436 MediaFormat inputFormat = audioExtractor.getTrackFormat(audioInputTrack); in extractDecodeEditEncodeMux()
450 audioExtractor, in extractDecodeEditEncodeMux()
476 if (audioExtractor != null) { in extractDecodeEditEncodeMux()
477 audioExtractor.release(); in extractDecodeEditEncodeMux()
769 MediaExtractor audioExtractor, in doExtractDecodeEditEncodeMux() argument
918 int size = audioExtractor.readSampleData(decoderInputBuffer, 0); in doExtractDecodeEditEncodeMux()
919 long presentationTime = audioExtractor.getSampleTime(); in doExtractDecodeEditEncodeMux()
[all …]
/cts/tests/tests/media/drmframework/jni/
Dnative-mediadrm-jni.cpp499 AMediaExtractor* audioExtractor = aMediaObjects.getAudioExtractor(); in playContent() local
513 addTracks(audioExtractor, NULL, NULL, &audioCodec); in playContent()
535 AMediaExtractor_advance(audioExtractor); in playContent()