You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
virtualvoidGetStreamDataInfo(u32 *writePtr, u32 *writableBytes, u32 *readOffset) = 0;// This should be const, but the legacy impl stops it (it's wrong).
128
128
virtualintAddStreamData(u32 bytesToAdd) = 0;
129
129
virtualintResetPlayPosition(int sample, int bytesWrittenFirstBuf, int bytesWrittenSecondBuf, bool *delay) = 0;
130
-
virtualintGetResetBufferInfo(AtracResetBufferInfo *bufferInfo, int sample, bool *delay) = 0;
130
+
virtualintGetBufferInfoForResetting(AtracResetBufferInfo *bufferInfo, int sample, bool *delay) = 0;// NOTE: Not const! This can cause SkipFrames!
virtualu32DecodeData(u8 *outbuf, u32 outbufPtr, int *SamplesNum, int *finish, int *remains) = 0;
136
136
virtualintDecodeLowLevel(constu8 *srcData, int *bytesConsumed, s16 *dstData, int *bytesWritten) = 0;
137
137
138
-
virtualu32GetNextSamples() = 0;
138
+
virtualu32GetNextSamples() = 0;// This should be const, but the legacy impl stops it (it's wrong).
139
139
virtualvoidInitLowLevel(const Atrac3LowLevelParams ¶ms, int codecType) = 0;
140
140
141
141
virtualvoidCheckForSas() = 0;
@@ -224,9 +224,9 @@ class Atrac : public AtracBase {
224
224
// Notify the player that the user has written some new data.
225
225
intAddStreamData(u32 bytesToAdd) override;
226
226
intResetPlayPosition(int sample, int bytesWrittenFirstBuf, int bytesWrittenSecondBuf, bool *delay) override;
227
-
intGetResetBufferInfo(AtracResetBufferInfo *bufferInfo, int sample, bool *delay) override;
227
+
intGetBufferInfoForResetting(AtracResetBufferInfo *bufferInfo, int sample, bool *delay) override;// NOTE: Not const! This can cause SkipFrames! (although only in the AtracCtx2)
0 commit comments