mirror of
https://github.com/samsonjs/media.git
synced 2026-04-04 11:05:47 +00:00
Add parameter names to Format creation
PiperOrigin-RevId: 277963928
This commit is contained in:
parent
15f8d8668e
commit
5d46d4f74f
1 changed files with 7 additions and 7 deletions
|
|
@ -78,17 +78,17 @@ import java.util.List;
|
|||
List<byte[]> initializationData = Collections.singletonList(metadata);
|
||||
setupData.format =
|
||||
Format.createAudioSampleFormat(
|
||||
null,
|
||||
/* id= */ null,
|
||||
MimeTypes.AUDIO_FLAC,
|
||||
null,
|
||||
Format.NO_VALUE,
|
||||
streamMetadata.bitRate(),
|
||||
/* codecs= */ null,
|
||||
/* bitrate= */ Format.NO_VALUE,
|
||||
/* maxInputSize= */ streamMetadata.bitRate(),
|
||||
streamMetadata.channels,
|
||||
streamMetadata.sampleRate,
|
||||
initializationData,
|
||||
null,
|
||||
0,
|
||||
null);
|
||||
/* drmInitData= */ null,
|
||||
/* selectionFlags= */ 0,
|
||||
/* language= */ null);
|
||||
} else if ((data[0] & 0x7F) == SEEKTABLE_PACKET_TYPE) {
|
||||
flacOggSeeker = new FlacOggSeeker();
|
||||
flacOggSeeker.parseSeekTable(packet);
|
||||
|
|
|
|||
Loading…
Reference in a new issue