mirror of
https://github.com/samsonjs/media.git
synced 2026-03-26 09:35:47 +00:00
Fix file formatting
PiperOrigin-RevId: 375919564
This commit is contained in:
parent
4b0c987675
commit
ee2af43a54
4 changed files with 7 additions and 10 deletions
|
|
@ -16,9 +16,8 @@
|
|||
|
||||
#include "include/flac_parser.h"
|
||||
|
||||
#include <jni.h>
|
||||
|
||||
#include <android/log.h>
|
||||
#include <jni.h>
|
||||
|
||||
#include <cassert>
|
||||
#include <cstdlib>
|
||||
|
|
@ -431,7 +430,7 @@ bool FLACParser::getSeekPositions(int64_t timeUs,
|
|||
targetSampleNumber = totalSamples - 1;
|
||||
}
|
||||
|
||||
FLAC__StreamMetadata_SeekPoint* points = mSeekTable->points;
|
||||
FLAC__StreamMetadata_SeekPoint *points = mSeekTable->points;
|
||||
unsigned length = mSeekTable->num_points;
|
||||
|
||||
for (unsigned i = length; i != 0; i--) {
|
||||
|
|
|
|||
|
|
@ -64,8 +64,8 @@ public class GvrAudioProcessor implements AudioProcessor {
|
|||
}
|
||||
|
||||
/**
|
||||
* Updates the listener head orientation. May be called on any thread. See
|
||||
* {@code GvrAudioSurround.updateNativeOrientation}.
|
||||
* Updates the listener head orientation. May be called on any thread. See {@code
|
||||
* GvrAudioSurround.updateNativeOrientation}.
|
||||
*
|
||||
* @param w The w component of the quaternion.
|
||||
* @param x The x component of the quaternion.
|
||||
|
|
@ -113,8 +113,9 @@ public class GvrAudioProcessor implements AudioProcessor {
|
|||
throw new UnhandledAudioFormatException(inputAudioFormat);
|
||||
}
|
||||
if (buffer == EMPTY_BUFFER) {
|
||||
buffer = ByteBuffer.allocateDirect(FRAMES_PER_OUTPUT_BUFFER * OUTPUT_FRAME_SIZE)
|
||||
.order(ByteOrder.nativeOrder());
|
||||
buffer =
|
||||
ByteBuffer.allocateDirect(FRAMES_PER_OUTPUT_BUFFER * OUTPUT_FRAME_SIZE)
|
||||
.order(ByteOrder.nativeOrder());
|
||||
}
|
||||
pendingInputAudioFormat = inputAudioFormat;
|
||||
return new AudioFormat(inputAudioFormat.sampleRate, OUTPUT_CHANNEL_COUNT, C.ENCODING_PCM_16BIT);
|
||||
|
|
@ -192,5 +193,4 @@ public class GvrAudioProcessor implements AudioProcessor {
|
|||
gvrAudioSurround = null;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -432,5 +432,4 @@ public final class ExoPlaybackException extends PlaybackException {
|
|||
bundle.putBoolean(keyForField(FIELD_IS_RECOVERABLE), isRecoverable);
|
||||
return bundle;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -57,7 +57,6 @@ import org.checkerframework.checker.nullness.qual.MonotonicNonNull;
|
|||
void onTransportReady(String transport, RtpDataChannel rtpDataChannel);
|
||||
}
|
||||
|
||||
|
||||
/** The track ID associated with the Loadable. */
|
||||
public final int trackId;
|
||||
/** The {@link RtspMediaTrack} to load. */
|
||||
|
|
|
|||
Loading…
Reference in a new issue