acl/compression/convert.h¶
#include "acl/compression/convert.h"
The functions that convert a raw track list to raw compressed tracks and back, without data loss.
convert_track_list¶
error_result convert_track_list(
iallocator& allocator,
const track_array& track_list,
compressed_tracks*& out_compressed_tracks)
Convert a track array instance into a raw compressed tracks instance. This is a lossless process.
error_result convert_track_list(
iallocator& allocator,
const compressed_tracks& tracks,
track_array& out_track_list)
Convert a compressed tracks instance into a track array instance. This is a lossless process if all the metadata is present. The compressed tracks do not hold the transform space: the track array is in local space.