Giter VIP home page Giter VIP logo

Comments (4)

mark4o avatar mark4o commented on August 16, 2024

The resampler in opus-tools is the same as the one in libspeexdsp. It was originally part of libspeex, before libspeex was split into libspeex and libspeexdsp; libspeex now contains the Speex codec, and libspeexdsp contains the codec-independent parts that can be used with any codec.

from opus-tools.

AachoLoya avatar AachoLoya commented on August 16, 2024

But I couldn't find speex_resampler.c or any resampler named file in libspeex repo. Are APIs identical between the two? Whats the significance of OUTSIDE_SPEEX directive, if its defined its seems to use internal definitions of functions etc, otherwise its seems to resort to libspeex, no?

Btw, this repo is missing "resample_neon.h", where can I get that?

from opus-tools.

mark4o avatar mark4o commented on August 16, 2024

The resampler is not codec-specific so it is in libspeexdsp. The header file is https://gitlab.xiph.org/xiph/speexdsp/-/blob/master/include/speex/speex_resampler.h and the implementation is in https://gitlab.xiph.org/xiph/speexdsp/-/blob/master/libspeexdsp/resample.c. The code and API is the same in the opus-tools copy. OUTSIDE_SPEEX is defined in opus-tools since it uses its own copy and does not want to depend on other parts of libspeexdsp (or libspeex).

resample_neon.h is at: https://gitlab.xiph.org/xiph/speexdsp/-/blob/master/libspeexdsp/resample_neon.h

from opus-tools.

AachoLoya avatar AachoLoya commented on August 16, 2024

Got it. Thanks!

from opus-tools.

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.