Home
last modified time | relevance | path

Searched refs:audioSpecificConfig (Results 1 – 7 of 7) sorted by relevance

/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/flv/
DAudioTagPayloadReader.java105 byte[] audioSpecificConfig = new byte[data.bytesLeft()]; in parsePayload()
106 data.readBytes(audioSpecificConfig, 0, audioSpecificConfig.length); in parsePayload()
107 AacUtil.Config aacConfig = AacUtil.parseAudioSpecificConfig(audioSpecificConfig); in parsePayload()
114 .setInitializationData(Collections.singletonList(audioSpecificConfig)) in parsePayload()
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/tracks/
DAACTrackImpl.java156 AudioSpecificConfig audioSpecificConfig = new AudioSpecificConfig(); in parse() local
157 audioSpecificConfig.setAudioObjectType(2); // AAC LC in parse()
158 audioSpecificConfig.setSamplingFrequencyIndex(samplingFrequencyIndexMap.get(samplerate)); in parse()
159 audioSpecificConfig.setChannelConfiguration(channelconfig); in parse()
160 decoderConfigDescriptor.setAudioSpecificInfo(audioSpecificConfig); in parse()
/external/exoplayer/tree/library/common/src/main/java/com/google/android/exoplayer2/util/
DCodecSpecificDataUtil.java37 public static Pair<Integer, Integer> parseAlacAudioSpecificConfig(byte[] audioSpecificConfig) { in parseAlacAudioSpecificConfig() argument
38 ParsableByteArray byteArray = new ParsableByteArray(audioSpecificConfig); in parseAlacAudioSpecificConfig()
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/adaptivestreaming/
DFlatManifestWriterImpl.java211 …final AudioSpecificConfig audioSpecificConfig = esDescriptorBox.getEsDescriptor().getDecoderConfig… in getAacAudioQuality() local
212 if (audioSpecificConfig.getSbrPresentFlag() == 1) { in getAacAudioQuality()
214 } else if (audioSpecificConfig.getPsPresentFlag() == 1) { in getAacAudioQuality()
225 l.codecPrivateData = getAudioCodecPrivateData(audioSpecificConfig); in getAacAudioQuality()
558 private String getAudioCodecPrivateData(AudioSpecificConfig audioSpecificConfig) { in getAudioCodecPrivateData() argument
559 byte[] configByteArray = audioSpecificConfig.getConfigBytes(); in getAudioCodecPrivateData()
/external/exoplayer/tree/library/common/src/main/java/com/google/android/exoplayer2/audio/
DAacUtil.java178 public static Config parseAudioSpecificConfig(byte[] audioSpecificConfig) throws ParserException { in parseAudioSpecificConfig() argument
180 new ParsableBitArray(audioSpecificConfig), /* forceReadToEnd= */ false); in parseAudioSpecificConfig()
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/ts/
DAdtsReader.java499 byte[] audioSpecificConfig = in parseAdtsHeader()
502 AacUtil.Config aacConfig = AacUtil.parseAudioSpecificConfig(audioSpecificConfig); in parseAdtsHeader()
510 .setInitializationData(Collections.singletonList(audioSpecificConfig)) in parseAdtsHeader()
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/mp4/
DAtomParsers.java1242 Pair<Integer, Integer> audioSpecificConfig = in parseAudioSampleEntry() local
1244 sampleRate = audioSpecificConfig.first; in parseAudioSampleEntry()
1245 channelCount = audioSpecificConfig.second; in parseAudioSampleEntry()