Skip to content

Caf fixes #385

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: dev-0.6
Choose a base branch
from
Open

Caf fixes #385

wants to merge 2 commits into from

Conversation

acieslewicz
Copy link

These changes are needed for caf files containing ima4 audio. Main change is moving away from compresses/uncompressed to variable\fixed packet parsing. I've tested with the sample files that worked previously as well as the caf ima4 file I have locally and it seems to work. Let me know if I missed anything or should change something!

Since we can have compressed formats with fixed packets sizes this means
that we need to separate by packet type not by compressed or not.

This replaces the check with a varible packet size check and enables the
demuxing of compressed fixed packets.

Uncompressed data is chunked into MAX_FRAMES_PER_PACKET while compressed
data packets are read one packet at a time.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant