[Android] remove duplicate code in AudioTrack patch

Sébastien Toque git at videolan.org
Sat May 12 19:44:51 CEST 2012


android | branch: master | Sébastien Toque <xilasz at gmail.com> | Sat May 12 19:34:49 2012 +0200| [edba6e59967cf18f4f1acfac8b2f7a269c5afd01] | committer: Sébastien Toque

remove duplicate code in AudioTrack patch

> http://git.videolan.org/gitweb.cgi/android.git/?a=commit;h=edba6e59967cf18f4f1acfac8b2f7a269c5afd01
---

 ...Android-add-native-AudioTrack-aout-module.patch |   14 +-------------
 1 files changed, 1 insertions(+), 13 deletions(-)

diff --git a/patches/0002-Android-add-native-AudioTrack-aout-module.patch b/patches/0002-Android-add-native-AudioTrack-aout-module.patch
index 62fe0a1..37b8dc1 100644
--- a/patches/0002-Android-add-native-AudioTrack-aout-module.patch
+++ b/patches/0002-Android-add-native-AudioTrack-aout-module.patch
@@ -14,7 +14,7 @@ diff --git a/configure.ac b/configure.ac
 index 62d13ad..08005d7 100644
 --- a/configure.ac
 +++ b/configure.ac
-@@ -3555,6 +3555,30 @@ if test "${HAVE_ANDROID}" = "1"; then
+@@ -3555,6 +3555,18 @@ if test "${HAVE_ANDROID}" = "1"; then
  fi
  
  dnl
@@ -30,18 +30,6 @@ index 62d13ad..08005d7 100644
 +fi
 +
 +dnl
-+dnl  android AudioTrack module
-+dnl
-+AC_ARG_ENABLE(audiotrack,
-+  [  --enable-audiotrack   Android native AudioTrack audio output module (default disabled)])
-+if test "${enable_audiotrack}" = "yes"; then
-+  if test "${HAVE_ANDROID}" = "1"; then
-+     VLC_ADD_PLUGIN([android_audiotrack])
-+     VLC_ADD_LDFLAGS([android_audiotrack], [-ldl])
-+  fi
-+fi
-+
-+dnl
  dnl libsamplerate plugin
  dnl
  PKG_ENABLE_MODULES_VLC([SAMPLERATE], [], [samplerate], [Resampler with libsamplerate], [auto])



More information about the Android mailing list