INCLUDE_DIRECTORIES(${INC_DIR}, ${INC_COM_DIR})
-SET(dependents "dlog libtbm capi-media-tool mused mmsvc-player mm-common tizen-extension-client evas elementary")
+SET(dependents "dlog glib-2.0 libtbm capi-media-tool capi-media-sound-manager capi-base-common mused mmsvc-player mm-common tizen-extension-client evas ecore elementary")
+SET(pc_dependents "libtbm capi-media-tool capi-base-common capi-media-sound-manager")
INCLUDE(FindPkgConfig)
pkg_check_modules(${fw_name} REQUIRED ${dependents})
Source1001: capi-media-player.manifest
BuildRequires: cmake
BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(mused)
BuildRequires: pkgconfig(mm-common)
BuildRequires: pkgconfig(capi-base-common)
if (!audio_raw)
return;
- g_print("[Player_Test] decoded_cb_ex! channel: %d channel_mask: %" G_GUINT64_FORMAT "\n", audio_raw->channel, audio_raw->channel_mask);
+ g_print("[Player_Test] decoded_cb_ex! channel: %d channel_mask: %llu\n", audio_raw->channel, audio_raw->channel_mask);
#ifdef DUMP_OUTBUF
if (audio_raw->channel_mask == 1 && fp_out1)
int real_read_len = 0;
char fname[128];
char fptsname[128];
- static unsigned long long pts = 0L;
+ static guint64 pts = 0L;
FILE *fp = NULL;
guint8 *buff_ptr = NULL;
fp = fopen(fptsname, "rb");
if (fp) {
int pts_len = 0;
- pts_len = fread(&pts, 1, sizeof(unsigned long long), fp);
- if (pts_len != sizeof(unsigned long long))
+ pts_len = fread(&pts, 1, sizeof(guint64), fp);
+ if (pts_len != sizeof(guint64))
g_print("Warning, pts value can be wrong.\n");
fclose(fp);
fp = NULL;
/* snprintf(fname, 128, "/opt/storage/usb/test/audio_packet/packet_%d.dat", audio_packet_count); */
snprintf(fname, 128, "/home/developer/test/audio_packet/packet_%d.dat", audio_packet_count);
- static unsigned long long audio_pts = 0;
- unsigned long long audio_dur = 21333333;
+ static guint64 audio_pts = 0;
+ guint64 audio_dur = 21333333;
fp = fopen(fname, "rb");
if (fp) {