This is to support .ogg file format.
[Version] 0.0.7
[Issue Tpe] Adding Feature
Change-Id: I9103ee684aa6aa3af36062acaf02f5039d03a709
Signed-off-by: aravind.gara <aravind.gara@samsung.com>
SET(INC_DIR include)
INCLUDE_DIRECTORIES(${INC_DIR})
-SET(dependents "dlog glib-2.0 openal freealut" )
+SET(dependents "dlog glib-2.0 openal")
IF(DEFINED ENV{ENABLE_ALURE})
- SET(dependents "${dependents} alure" )
+ SET(dependents "${dependents} alure")
SET(PKG_CONFIG_CFLAGS "${PKG_CONFIG_CFLAGS} -DENABLE_ALURE")
SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} -DENABLE_ALURE")
+ELSE()
+ SET(dependents "${dependents} freealut")
ENDIF()
INCLUDE(FindPkgConfig)
#define FONT_COLOR_GRAY
#endif
-/**
- * @brief Max amount of sound pools which could be created.
- *
- * @since_tizen 3.0
- */
-#define SOUND_POOL_MAX_POOLS_AMOUNT 32U
-
#define SP_DEBUG(fmt, arg...) \
do { \
LOGD(FONT_COLOR_RESET""fmt"", ##arg); \
Name: capi-media-sound-pool
-Version: 0.0.6
+Version: 0.0.7
Summary: Tizen Sound Pool module
Release: 0
Group: Multimedia/Framework
BuildRequires: pkgconfig(dlog)
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(openal)
-BuildRequires: pkgconfig(freealut)
-#BuildRequires: pkgconfig(alure)
+#BuildRequires: pkgconfig(freealut)
+BuildRequires: pkgconfig(alure)
%description
Tizen Sound Pool Module allowing sounds playing for audio resources.
export CFLAGS="$CFLAGS -fprofile-arcs -ftest-coverage"
export CXXFLAGS="$CXXFLAGS -fprofile-arcs -ftest-coverage"
export LDFLAGS="$LDFLAGS -lgcov"
-#export ENABLE_ALURE=1
+export ENABLE_ALURE=1
MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
%cmake . -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
#include "internal/stream.h"
#include <unistd.h>
-#include <AL/alut.h>
#ifdef ENABLE_ALURE
-# include <AL/alure.h>
+#include <AL/alure.h>
+#else
+#include <AL/alut.h>
#endif
static sound_pool_error_e __sound_pool_add_source(sound_pool_t *pool, sound_source_t *src);