- 02 Sep, 2019 4 commits
-
-
We don't usually refer to other classes when documenting method parameters but rather duplicate the actual definition. PiperOrigin-RevId: 262102714
tonihei committed -
We already allow mixed mime type and mixed sample rate adaptation on request, so for completeness, we can also allow mixed channel count adaptation. Issue:#6257 PiperOrigin-RevId: 261930046
tonihei committed -
This only covers calls to scaleLargeTimestamp() PiperOrigin-RevId: 261878019
ibaker committed -
This also decouples EventMessageEncoder's serialization schema from the emesg spec (it happens to still match the emsg-v0 spec, but this is no longer required). PiperOrigin-RevId: 261877918
ibaker committed
-
- 09 Aug, 2019 1 commit
-
-
r2.10.4
Oliver Woodman committed
-
- 05 Aug, 2019 2 commits
-
-
If we keep streams in chunk sources after selecting new tracks, we also keep a reference to a stale disabled TrackSelection object. Fix this by updating the TrackSelection object when keeping the stream. The static part of the selection (i.e. the subset of selected tracks) stays the same in all cases. Issue:#6256 PiperOrigin-RevId: 261696082
tonihei committed -
Issue:#6260 PiperOrigin-RevId: 261647858
tonihei committed
-
- 02 Aug, 2019 8 commits
-
-
PiperOrigin-RevId: 261353271
olly committed -
PiperOrigin-RevId: 261341256
olly committed -
PiperOrigin-RevId: 261340526
olly committed -
PiperOrigin-RevId: 261328701
olly committed -
PiperOrigin-RevId: 261320318
olly committed -
- Test seeking to (timeUs=0, position=0), which should always work and produce the same output as initially reading from the start of the stream. - Reset the input when testing seeking, to ensure IO errors are simulated for this case. PiperOrigin-RevId: 261317898
olly committed -
- When in STATE_SEEK with targetGranule==0, seeking would exit without checking that the input was positioned at the correct place. - Seeking could fail due to trying to read beyond the end of the stream. - Seeking was not robust against IO errors during the skip phase that occurs after the binary search has sufficiently converged. PiperOrigin-RevId: 261317035
olly committed -
A previous change switched to calculation of the bitrate based on the first MPEG audio header in the stream. This had the effect of fixing seeking to be consistent with playing from the start for streams where every frame has the same padding value, but broke streams where the encoder (correctly) modifies the padding value to match the declared bitrate in the header. Issue: #6238 PiperOrigin-RevId: 261163904
andrewlewis committed
-
- 01 Aug, 2019 16 commits
-
-
Oliver Woodman committed
-
Issue: #6241 PiperOrigin-RevId: 261126968
olly committed -
PiperOrigin-RevId: 260970865
olly committed -
They're not unexpected! PiperOrigin-RevId: 260907687
olly committed -
PiperOrigin-RevId: 244173887
andrewlewis committed -
Issue: #5938 PiperOrigin-RevId: 261150349
olly committed -
Android considers ALAC initialization data to consider of the magic cookie only, where-as FFmpeg requires a full atom. Standardize around the Android definition, since it makes more sense (the magic cookie being contained within an atom is container specific, where-as the decoder shouldn't care what container the media stream is carried in) Issue: #5938 PiperOrigin-RevId: 261124155
olly committed -
PiperOrigin-RevId: 261102180
olly committed -
PiperOrigin-RevId: 261102008
olly committed -
ISSUE: #5938 PiperOrigin-RevId: 261097045
bachinger committed -
PiperOrigin-RevId: 261087432
Oliver Woodman committed -
Checking inputPosition == 0 isn't sufficient because the synchronization at the top of read() may advance the input (i.e. in the case where there's some garbage prior to the seek frame). PiperOrigin-RevId: 261086901
olly committed -
PiperOrigin-RevId: 260947018
olly committed -
This could previously occur when seeking back to position=0 PiperOrigin-RevId: 260933636
olly committed -
Update javadoc for TrackOutput#sampleData to make it more clear that implementors aren't expected to rewind with setPosition() PiperOrigin-RevId: 260718614
olly committed -
PiperOrigin-RevId: 260583198
olly committed
-
- 29 Jul, 2019 1 commit
-
-
Issue: #6229 PiperOrigin-RevId: 260500986
andrewlewis committed
-
- 28 Jul, 2019 5 commits
-
-
Oliver Woodman committed
-
Oliver Woodman committed
-
Oliver Woodman committed
-
Oliver Woodman committed
-
PiperOrigin-RevId: 249250184
eguven committed
-
- 27 Jul, 2019 2 commits
-
-
PiperOrigin-RevId: 260164426
olly committed -
When using speed adjustment it was possible for playback to get stuck at a period transition when the channel count changed: SonicAudioProcessor would be drained at the point of the period transition in preparation for creating a new AudioTrack with the new channel count, but during draining the incorrect (new) channel count was used to calculate the output buffer size for pending data from Sonic. This meant that, for example, if the channel count changed from stereo to mono we could have an output buffer size that stored an non-integer number of audio frames, and in turn this would cause writing to the AudioTrack to get stuck as the AudioTrack would prevent writing a partial audio frame. Use Sonic's current channel count when draining output to fix the issue. PiperOrigin-RevId: 260156541
andrewlewis committed
-
- 26 Jul, 2019 1 commit
-
-
Oliver Woodman committed
-