Giter Club home page Giter Club logo

android-tremolo's Introduction

Easily compile Tremolo for Android for Castle Game Engine

"Tremolo" is (simplifying a little) a fast native library to read OggVorbis on Android. See http://wss.co.uk/pinknoise/tremolo/ for the details.

This repository allows to easily recompile Tremolo and copy the result over the Castle Game Engine sources. It assumes:

  • You have installed Android NDK, and ndk-build is on $PATH.

  • The source code of Castle Game Engine is in $CASTLE_ENGINE_PATH.

Then just run make build .

It will recompile the library for the appropriate Android versions and architectures used by Castle Game Engine:

  • 32-bit ARM
  • 64-bit ARM (aka Aarch64)
  • 32-bit X86
  • 64-bit X86 (x86_64)

Low-precision version

It is possible to alternatively use a low-precision version of Tremolo. Instead of libtremolo.so, you would take libtremolo-low-precision.so. The low precision version may be faster, although the quality is very bad in my tests.

CGE

You can use these libraries with Castle Game Engine "ogg_vorbis" component (see https://github.com/castle-engine/castle-engine/blob/master/tools/build-tool/data/android/integrated-services/ogg_vorbis/README.adoc ).

Credits

The source code here is taken from Tremolo 0.08 release, http://wss.co.uk/pinknoise/tremolo/Tremolo008.zip . The idea to arrange it like this, to easily compile using NDK, is from http://repo.or.cz/openal-soft/android.git . Michalis only did some tiny changes to Android.mk to easily compile both shared libraries.

android-tremolo's People

Contributors

michaliskambi avatar

Watchers

 avatar  avatar  avatar

Forkers

isabella232

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.