StarBurn SDK (Software Development Kit) |
__stdcall STARBURN_IMPEX_API ULONG StarBurn_StarWave_CompressedFileRecompress(IN PCHAR p__PCHAR__SourceCompressedFileName, IN PCHAR p__PCHAR__DestinationRecompressedFileName, IN ULONG p__ULONG__WorkingBufferSizeInUCHARs, OUT PULONG p__PULONG__UncompressedSizeInUCHARs, IN PSTARBURN_STARWAVE_CALLBACK p__PSTARBURN_STARWAVE_CALLBACK, IN PVOID p__PVOID__Context, IN STARBURN_STARWAVE_COMPRESSION p__STARBURN_STARWAVE_COMPRESSION);
Parameters | Description |
IN PCHAR p__PCHAR__SourceCompressedFileName | Pointer to source compressed file name. |
IN PCHAR p__PCHAR__DestinationRecompressedFileName | Pointer to destination compressed file name. |
IN ULONG p__ULONG__WorkingBufferSizeInUCHARs | Working buffer size in UCHARs (recommended to have it equal to STARBURN_STARWAVE_IO_BUFFER_SIZE_IN_UCHARS). |
OUT PULONG p__PULONG__UncompressedSizeInUCHARs | Pointer to the variable to receive uncompressed source stream size in UCHARs. |
IN PSTARBURN_STARWAVE_CALLBACK p__PSTARBURN_STARWAVE_CALLBACK | Pointer to callback function to process progress indication and I/O cancellation. |
IN PVOID p__PVOID__Context | Pointer to the context value passed to callback function. |
IN STARBURN_STARWAVE_COMPRESSION p__STARBURN_STARWAVE_COMPRESSION | Compression template. |
Execution status.
This function recompresses already compressed file to new one with another compression.
None.
StarBurn_StarWave_CompressedFileReaderObjectCreate, StarBurn_StarWave_CompressedFileReaderObjectUncompressedSizeGet, StarBurn_StarWave_CompressedFileReaderObjectBeginSeek, StarBurn_StarWave_CompressedFileReaderObjectRead, StarBurn_StarWave_CompressedFileReaderObjectDestroy, StarBurn_StarWave_VersionGet, StarBurn_StarWave_CompressedFileWriterObjectCreate, StarBurn_StarWave_CompressedFileWriterObjectWrite, StarBurn_StarWave_CompressedFileWriterObjectDestroy, StarBurn_StarWave_UncompressedFileCompress, StarBurn_StarWave_CompressedFileUncompress, StarBurn_StarWave_CompressedFileSupportedIs
See AudioCompressor StarBurn sample application as an example how to use StarBurn_StarWave_CompressedFileRecompress API call.