mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-06-26 22:31:50 +00:00
Make sure xchunk write size can specified to be smaller than xchunk size to respect zlib to add size instead of removing size due to not being able to compress
This commit is contained in:
@ -13,6 +13,7 @@ class OutputProcessorXChunks final : public OutputStreamProcessor
|
||||
|
||||
int m_stream_count;
|
||||
size_t m_chunk_size;
|
||||
size_t m_chunk_write_size;
|
||||
size_t m_vanilla_buffer_size;
|
||||
|
||||
bool m_initialized;
|
||||
@ -28,8 +29,8 @@ class OutputProcessorXChunks final : public OutputStreamProcessor
|
||||
void WriteChunk();
|
||||
|
||||
public:
|
||||
OutputProcessorXChunks(int numStreams, size_t xChunkSize);
|
||||
OutputProcessorXChunks(int numStreams, size_t xChunkSize, size_t vanillaBufferSize);
|
||||
OutputProcessorXChunks(int numStreams, size_t xChunkSize, size_t xChunkWriteSize);
|
||||
OutputProcessorXChunks(int numStreams, size_t xChunkSize, size_t xChunkWriteSize, size_t vanillaBufferSize);
|
||||
~OutputProcessorXChunks() override = default;
|
||||
|
||||
OutputProcessorXChunks(const OutputProcessorXChunks& other) = delete;
|
||||
|
Reference in New Issue
Block a user