Giter Site home page Giter Site logo

ALAC support about symphonia HOT 5 CLOSED

inflation avatar inflation commented on May 13, 2024
ALAC support

from symphonia.

Comments (5)

pdeljanov avatar pdeljanov commented on May 13, 2024

Hi @inflation,

Thanks for your interest!

Coincidentally enough, ALAC is something I've been working on. So far, I've made some progress on extending the IsoMp4Reader to support demuxing ALAC (among other) bitstreams and have not gotten to the decoder yet. If the decoder is something you'd like to write, then it's not too late to jump in.

There is no specification for the ALAC codec. We only have Apple's official reference implementation to work with. This means that for the most part, we just need to port the reference implementation over to Rust, and make it idiomatic (i.e., use iterators instead of for loops, etc.).

A good starting point would be to look at the PCM decoder to understand how a Symphonia decoder is structured (the Decoder trait). Then check out the FLAC decoder to see how a similar lossless audio decoder is implemented.

If this is something you're interested in working on, you can jump right in.

Since this is something I was planning to include in v0.5 (next release), please keep me posted occasionally on your progress, and let me know if you won't be able to complete it for whatever reason.

Of course, please feel free to reach out and ask if you have any questions or are getting stuck.

from symphonia.

pdeljanov avatar pdeljanov commented on May 13, 2024

To give you a head start, I pushed the stubbed out AlacDecoder I had previously implemented to the alac branch.

from symphonia.

inflation avatar inflation commented on May 13, 2024

Sure, I will read the source and start on porting the reference implementation.

from symphonia.

inflation avatar inflation commented on May 13, 2024

I'll need more time on this because of personal issues. Feel free to take it over. Sorry.

from symphonia.

pdeljanov avatar pdeljanov commented on May 13, 2024

Hey @inflation, I hope you are doing okay.

I'm not in a rush to push a new release, so if you are still interested in it after things settle down, feel free to jump back in if the ticket is still open.

from symphonia.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    šŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. šŸ“ŠšŸ“ˆšŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ā¤ļø Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.