Lossless join AAC / m4a files with ExtAudioFileRead / ExtAudileFileWrite

Hi,



I'm trying to join multiple mp4 files with the same AAC encoding parameters with the macOS ExtAudioFile API. The current setup decodes the samples to PCM and re-encodes them which I'd like to avoid. Has anybody a reference to a simple "join samples" code?



Thanks!