Skip to content

Commit 473d317

Browse files
committed
initial import
0 parents  commit 473d317

19 files changed

+1034
-0
lines changed

.classpath

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<classpath>
3+
<classpathentry kind="src" path="src"/>
4+
<classpathentry kind="src" path="gen"/>
5+
<classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
6+
<classpathentry kind="output" path="bin"/>
7+
</classpath>

.gitignore

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
bin/*
2+
gen/*
3+
libs/armeabi*
4+
obj/*
5+
keys
6+
market/*
7+
*.apk
8+
*.iws
9+
*.ipr
10+
*.iml
11+
local.properties

.project

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<projectDescription>
3+
<name>libresample</name>
4+
<comment></comment>
5+
<projects>
6+
</projects>
7+
<buildSpec>
8+
<buildCommand>
9+
<name>com.android.ide.eclipse.adt.ResourceManagerBuilder</name>
10+
<arguments>
11+
</arguments>
12+
</buildCommand>
13+
<buildCommand>
14+
<name>com.android.ide.eclipse.adt.PreCompilerBuilder</name>
15+
<arguments>
16+
</arguments>
17+
</buildCommand>
18+
<buildCommand>
19+
<name>org.eclipse.jdt.core.javabuilder</name>
20+
<arguments>
21+
</arguments>
22+
</buildCommand>
23+
<buildCommand>
24+
<name>com.android.ide.eclipse.adt.ApkBuilder</name>
25+
<arguments>
26+
</arguments>
27+
</buildCommand>
28+
</buildSpec>
29+
<natures>
30+
<nature>com.android.ide.eclipse.adt.AndroidNature</nature>
31+
<nature>org.eclipse.jdt.core.javanature</nature>
32+
</natures>
33+
</projectDescription>

AndroidManifest.xml

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3+
package="net.sourceforge.autotalent"
4+
android:versionCode="1"
5+
android:versionName="0.01">
6+
<uses-sdk android:minSdkVersion="4" />
7+
8+
<application>
9+
10+
11+
</application>
12+
</manifest>

INSTALL

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
This project requires:
2+
Android SDK
3+
Android NDK
4+
5+
This project does not contain the shared libraries for LAME.
6+
In order to build them, you must first install the Android NDK from:
7+
http://developer.android.com/sdk/ndk/index.html
8+
Installing the Android NDK is beyond the scope of this INSTALL file.
9+
10+
To build the libraries you must go to /path/to/libresample and issue the command:
11+
/path/to/ndk-build
12+
13+
The NDK builder will compile the shared libraries and place them in the
14+
libresample/libs directory for use by other dependant projects.

LICENSE

+463
Large diffs are not rendered by default.

README

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
This project is licensed under LGPLv2.1, for further licensing information see
2+
the LICENSE file.
3+
4+
Build Instructions:
5+
For help building the native resample library, please consult the INSTALL file.
6+
7+
Known Issues:
8+
9+
This project is based off libresample and resample available from:
10+
https://ccrma.stanford.edu/~jos/resample/Free_Resampling_Software.html

TODO

Whitespace-only changes.

build.xml

+79
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project name="libresample" default="help">
3+
4+
<!-- The local.properties file is created and updated by the 'android'
5+
tool.
6+
It contains the path to the SDK. It should *NOT* be checked into
7+
Version Control Systems. -->
8+
<property file="local.properties" />
9+
10+
<!-- The build.properties file can be created by you and is never touched
11+
by the 'android' tool. This is the place to change some of the
12+
default property values used by the Ant rules.
13+
Here are some properties you may want to change/update:
14+
15+
source.dir
16+
The name of the source directory. Default is 'src'.
17+
out.dir
18+
The name of the output directory. Default is 'bin'.
19+
20+
Properties related to the SDK location or the project target should
21+
be updated using the 'android' tool with the 'update' action.
22+
23+
This file is an integral part of the build system for your
24+
application and should be checked into Version Control Systems.
25+
26+
-->
27+
<property file="build.properties" />
28+
29+
<!-- The default.properties file is created and updated by the 'android'
30+
tool, as well as ADT.
31+
This file is an integral part of the build system for your
32+
application and should be checked into Version Control Systems. -->
33+
<property file="default.properties" />
34+
35+
36+
<!-- Required pre-setup import -->
37+
<import file="${sdk.dir}/tools/ant/pre_setup.xml" />
38+
39+
40+
<!-- extension targets. Uncomment the ones where you want to do custom work
41+
in between standard targets -->
42+
<!--
43+
<target name="-pre-build">
44+
</target>
45+
<target name="-pre-compile">
46+
</target>
47+
48+
[This is typically used for code obfuscation.
49+
Compiled code location: ${out.classes.absolute.dir}
50+
If this is not done in place, override ${out.dex.input.absolute.dir}]
51+
<target name="-post-compile">
52+
</target>
53+
-->
54+
55+
<!-- Execute the Android Setup task that will setup some properties
56+
specific to the target, and import the build rules files.
57+
58+
The rules file is imported from
59+
<SDK>/tools/ant/
60+
Depending on the project type it can be either:
61+
- main_rules.xml
62+
- lib_rules.xml
63+
- test_rules.xml
64+
65+
To customize existing targets, there are two options:
66+
- Customize only one target:
67+
- copy/paste the target into this file, *before* the
68+
<setup> task.
69+
- customize it to your needs.
70+
- Customize the whole script.
71+
- copy/paste the content of the rules files (minus the top node)
72+
into this file, *after* the <setup> task
73+
- disable the import of the rules by changing the setup task
74+
below to <setup import="false" />.
75+
- customize to your needs.
76+
-->
77+
<setup />
78+
79+
</project>

default.properties

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# This file is automatically generated by Android Tools.
2+
# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
3+
#
4+
# This file must be checked in Version Control Systems.
5+
#
6+
# To customize properties used by the Ant build system use,
7+
# "build.properties", and override values to adapt the script to your
8+
# project structure.
9+
10+
# Project target.
11+
target=android-10
12+
android.library=true

jni/Android.mk

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
LOCAL_PATH := $(call my-dir)
2+
3+
include $(call all-subdir-makefiles)

jni/Application.mk

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
APP_ABI := armeabi armeabi-v7a
2+
APP_MODULES := autotalent

jni/resample/resample-interface.c

Whitespace-only changes.

jni/resample/resample-interface.h

+45
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)