Commit 76922217 authored by Gildas Bazin's avatar Gildas Bazin

* ALL: bumped revision number to 0.7.1
* modules/audio_filter/converter/dtstofloat32.c: update for libdts-0.0.2
parent cce86ebe
dnl Autoconf settings for vlc dnl Autoconf settings for vlc
dnl $Id: configure.ac,v 1.184 2004/02/22 15:03:33 gbazin Exp $ dnl $Id: configure.ac,v 1.185 2004/02/29 13:05:21 gbazin Exp $
AC_INIT(vlc,0.7.1-test2) AC_INIT(vlc,0.7.1)
CONFIGURE_LINE="$0 $*" CONFIGURE_LINE="$0 $*"
CODENAME="Bond" CODENAME="Bond"
...@@ -13,7 +13,7 @@ AC_CANONICAL_SYSTEM ...@@ -13,7 +13,7 @@ AC_CANONICAL_SYSTEM
dnl XXX: we don't put any flags here, because automake 1.5 doesn't support dnl XXX: we don't put any flags here, because automake 1.5 doesn't support
dnl them. And we need the comma otherwize automake will choke on it. dnl them. And we need the comma otherwize automake will choke on it.
AM_INIT_AUTOMAKE(vlc,0.7.1-test2) AM_INIT_AUTOMAKE(vlc,0.7.1)
AM_CONFIG_HEADER(config.h) AM_CONFIG_HEADER(config.h)
dnl dnl
...@@ -2120,7 +2120,7 @@ AC_ARG_ENABLE(dts, ...@@ -2120,7 +2120,7 @@ AC_ARG_ENABLE(dts,
[ --enable-dts DTS Coherent Acoustics support with libdts (default enabled)]) [ --enable-dts DTS Coherent Acoustics support with libdts (default enabled)])
if test "${enable_dts}" != "no"; then if test "${enable_dts}" != "no"; then
AC_ARG_WITH(dts-tree, AC_ARG_WITH(dts-tree,
[ --with-dts-tree=PATH dtsdec tree for static linking ],[],[]) [ --with-dts-tree=PATH libdts tree for static linking ],[],[])
if test "${with_dts_tree}" != "no" -a -n "${with_dts_tree}" if test "${with_dts_tree}" != "no" -a -n "${with_dts_tree}"
then then
real_dts_tree="`cd ${with_dts_tree} 2>/dev/null && pwd`" real_dts_tree="`cd ${with_dts_tree} 2>/dev/null && pwd`"
...@@ -2130,22 +2130,21 @@ if test "${enable_dts}" != "no"; then ...@@ -2130,22 +2130,21 @@ if test "${enable_dts}" != "no"; then
AC_MSG_RESULT(no) AC_MSG_RESULT(no)
AC_MSG_ERROR([${with_dts_tree} directory doesn't exist]) AC_MSG_ERROR([${with_dts_tree} directory doesn't exist])
fi fi
dnl Use a custom dtsdec dnl Use a custom libdts
AC_MSG_CHECKING(for dts.h in ${real_dts_tree}/include) AC_MSG_CHECKING(for dts.h in ${real_dts_tree}/include)
if test -f ${real_dts_tree}/include/dts.h if test -f ${real_dts_tree}/include/dts.h
then then
AC_MSG_RESULT(yes) AC_MSG_RESULT(yes)
AX_ADD_CPPFLAGS([dtstofloat32],[-I${real_dts_tree}]) AX_ADD_CPPFLAGS([dtstofloat32],[-I${real_dts_tree}/include])
AX_ADD_LDFLAGS([dtstofloat32],[-L${real_dts_tree}/libdts/.libs]) AX_ADD_LDFLAGS([dtstofloat32],[-L${real_dts_tree}/libdts/.libs])
LDFLAGS="${LDFLAGS_save} ${LDFLAGS_dtstofloat32}" LDFLAGS="${LDFLAGS_save} ${LDFLAGS_dtstofloat32}"
AC_CHECK_LIB(dts, dts_free, [ AC_CHECK_LIB(dts, dts_free, [
AX_ADD_BUILTINS([dtstofloat32]) AX_ADD_BUILTINS([dtstofloat32])
AX_ADD_CPPFLAGS([dtstofloat32],[-DUSE_DTSDEC_TREE])
AX_ADD_LDFLAGS([dtstofloat32],[-ldts]) AX_ADD_LDFLAGS([dtstofloat32],[-ldts])
],[ ],[
if test -f ${real_dts_tree}/libdts/.libs/libdts.a if test -f ${real_dts_tree}/libdts/.libs/libdts.a
then then
AC_MSG_ERROR([make sure you have at least dtsdec-0.1.0]) AC_MSG_ERROR([make sure you have at least libdts-0.0.2])
else else
AC_MSG_ERROR([the specified tree hasn't been compiled]) AC_MSG_ERROR([the specified tree hasn't been compiled])
fi fi
...@@ -2156,7 +2155,7 @@ if test "${enable_dts}" != "no"; then ...@@ -2156,7 +2155,7 @@ if test "${enable_dts}" != "no"; then
AC_MSG_ERROR([the specified tree doesn't have dts.h]) AC_MSG_ERROR([the specified tree doesn't have dts.h])
fi fi
else else
AC_CHECK_HEADERS(dtsdec/dts.h, [ AC_CHECK_HEADERS(dts.h, [
AC_CHECK_LIB(dts, dts_free, [ AC_CHECK_LIB(dts, dts_free, [
AX_ADD_PLUGINS([dtstofloat32]) AX_ADD_PLUGINS([dtstofloat32])
AX_ADD_LDFLAGS([dtstofloat32],[-ldts]) AX_ADD_LDFLAGS([dtstofloat32],[-ldts])
......
/* Localized versions of Info.plist keys */ /* Localized versions of Info.plist keys */
CFBundleName = "VLC"; CFBundleName = "VLC";
CFBundleShortVersionString = "0.7.1-test2"; CFBundleShortVersionString = "0.7.1";
CFBundleGetInfoString = "VLC media player 0.7.1-test2, Copyright (c) 1996-2004 VideoLAN."; CFBundleGetInfoString = "VLC media player 0.7.1, Copyright (c) 1996-2004 VideoLAN.";
NSHumanReadableCopyright = "Copyright (c) 1996-2004 VideoLAN."; NSHumanReadableCopyright = "Copyright (c) 1996-2004 VideoLAN.";
...@@ -525,7 +525,7 @@ ...@@ -525,7 +525,7 @@
<key>CFBundleExecutable</key> <key>CFBundleExecutable</key>
<string>VLC</string> <string>VLC</string>
<key>CFBundleGetInfoString</key> <key>CFBundleGetInfoString</key>
<string>VLC media player 0.7.1-test2, Copyright (c) 1996-2003 VideoLAN.</string> <string>VLC media player 0.7.1, Copyright (c) 1996-2003 VideoLAN.</string>
<key>CFBundleIconFile</key> <key>CFBundleIconFile</key>
<string>vlc.icns</string> <string>vlc.icns</string>
<key>CFBundleIdentifier</key> <key>CFBundleIdentifier</key>
...@@ -537,7 +537,7 @@ ...@@ -537,7 +537,7 @@
<key>CFBundlePackageType</key> <key>CFBundlePackageType</key>
<string>APPL</string> <string>APPL</string>
<key>CFBundleShortVersionString</key> <key>CFBundleShortVersionString</key>
<string>0.7.1-test2</string> <string>0.7.1</string>
<key>CFBundleSignature</key> <key>CFBundleSignature</key>
<string>VLC#</string> <string>VLC#</string>
<key>CFBundleURLTypes</key> <key>CFBundleURLTypes</key>
...@@ -584,7 +584,7 @@ ...@@ -584,7 +584,7 @@
</dict> </dict>
</array> </array>
<key>CFBundleVersion</key> <key>CFBundleVersion</key>
<string>0.7.1-test2</string> <string>0.7.1</string>
<key>NSAppleScriptEnabled</key> <key>NSAppleScriptEnabled</key>
<string>YES</string> <string>YES</string>
<key>NSMainNibFile</key> <key>NSMainNibFile</key>
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* (http://www.videolan.org/dtsdec/). * (http://www.videolan.org/dtsdec/).
***************************************************************************** *****************************************************************************
* Copyright (C) 2001, 2002 VideoLAN * Copyright (C) 2001, 2002 VideoLAN
* $Id: dtstofloat32.c,v 1.1 2004/02/05 22:56:12 gbazin Exp $ * $Id: dtstofloat32.c,v 1.2 2004/02/29 13:05:22 gbazin Exp $
* *
* Author: Gildas Bazin <gbazin@netcourrier.com> * Author: Gildas Bazin <gbazin@netcourrier.com>
* *
...@@ -31,11 +31,7 @@ ...@@ -31,11 +31,7 @@
#include <stdlib.h> /* malloc(), free() */ #include <stdlib.h> /* malloc(), free() */
#include <string.h> /* strdup() */ #include <string.h> /* strdup() */
#ifdef USE_DTSDEC_TREE /* libdts header file */ #include <dts.h> /* libdts header file */
# include "include/dts.h"
#else
# include "dtsdec/dts.h"
#endif
#include "audio_output.h" #include "audio_output.h"
#include "aout_internal.h" #include "aout_internal.h"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment