|
Air Native Extension for AAC playback (iOS + Android) This is an Air native extensions to interact with the native audio players: It has been developed by FreshPlanet and is used in the game SongPop. InstallationThe ANE binary (AirAACPlayer.ane) is located in the bin folder. You should add it to your application project's Build Path and make sure to package it with your app (more information here). UsageA sample application is provided in the sample folder to help you get familiar with this ANE. In order to run the sample application, you need to create a JSON file to provide some m4a URLs: - cd /path/to/the/ane/sample/src
- echo '["http://domain.com/file1.m4a", "http://domain.com/file2.m4a"]' > m4a_urls.json
复制代码Notes: - included binary has been compiled for 64-bit iOS support
Build scriptShould you need to edit the extension source code and/or recompile it, you will find an ant build script (build.xml) in the build folder: - cd /path/to/the/ane/build
- mv example.build.config build.config
- #edit the build.config file to provide your machine-specific paths
- ant
复制代码 AuthorsThis ANE has been written by Corentin Smith, Kevin Lockard, Jay Canty and Alexis Taugeron. It belongs to FreshPlanet Inc. and is distributed under the Apache Licence, version 2.0.
相关链接:
https://github.com/freshplanet/ANE-AACPlayer
下载
|