summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeungbae Shin <seungbae.shin@samsung.com>2018-12-14 10:57:46 +0900
committerSeungbae Shin <seungbae.shin@samsung.com>2018-12-14 10:57:49 +0900
commitd1486243eab662d552ea724f15246a2aa71441b4 (patch)
treedaf2d639eb13a34336272bbabb7c4bb7526f5489
parent45af5eb37d6b0d4a275695435a85253e1adcdf3f (diff)
downloadlibmm-sound-d1486243eab662d552ea724f15246a2aa71441b4.tar.gz
libmm-sound-d1486243eab662d552ea724f15246a2aa71441b4.tar.bz2
libmm-sound-d1486243eab662d552ea724f15246a2aa71441b4.zip
[Version] 0.12.32 [Issue Type] Build Change-Id: Iff9e7ab2701743640c605867849b502a700c03e0
-rw-r--r--packaging/libmm-sound.spec2
-rw-r--r--server/plugin/wav/mm_sound_plugin_codec_wave.c8
2 files changed, 5 insertions, 5 deletions
diff --git a/packaging/libmm-sound.spec b/packaging/libmm-sound.spec
index d813e6c..8fe95a3 100644
--- a/packaging/libmm-sound.spec
+++ b/packaging/libmm-sound.spec
@@ -1,6 +1,6 @@
Name: libmm-sound
Summary: MMSound Package contains client lib and sound_server binary
-Version: 0.12.31
+Version: 0.12.32
Release: 0
Group: System/Libraries
License: Apache-2.0
diff --git a/server/plugin/wav/mm_sound_plugin_codec_wave.c b/server/plugin/wav/mm_sound_plugin_codec_wave.c
index afad62c..499f904 100644
--- a/server/plugin/wav/mm_sound_plugin_codec_wave.c
+++ b/server/plugin/wav/mm_sound_plugin_codec_wave.c
@@ -70,7 +70,7 @@ static int _sound_prepare(wave_info_t *h)
h->spec.channels = h->si.channels;
h->spec.format = PA_SAMPLE_S16LE;
- debug_msg("SF_INFO : frames = %zu, samplerate = %d, channels = %d, format = 0x%X, sections = %d, seekable = %d",
+ debug_msg("SF_INFO : frames = %"PRId64", samplerate = %d, channels = %d, format = 0x%X, sections = %d, seekable = %d",
h->si.frames, h->si.samplerate, h->si.channels, h->si.format, h->si.sections, h->si.seekable);
return 0;
@@ -277,7 +277,7 @@ static void _pa_stream_write_callback(pa_stream *s, size_t length, void *userdat
if ((bytes = sf_readf_short(h->sf, data, (sf_count_t)(data_length / frame_size))) > 0)
bytes *= (sf_count_t)frame_size;
- debug_log("=== %zu / %zu ===", bytes, data_length);
+ debug_log("=== %"PRId64" / %zu ===", bytes, data_length);
if (bytes > 0)
pa_stream_write(s, data, (size_t)bytes, NULL, 0, PA_SEEK_RELATIVE);
@@ -286,7 +286,7 @@ static void _pa_stream_write_callback(pa_stream *s, size_t length, void *userdat
/* If No more data, drain stream */
if (bytes < (sf_count_t)data_length) {
- debug_msg("EOS!!!!! %zu/%zu", bytes, data_length);
+ debug_msg("EOS!!!!! %"PRId64"/%zu", bytes, data_length);
/* Handle loop */
if (_sound_is_rewind_needed(h)) {
@@ -509,7 +509,7 @@ static int _mm_sound_plug_codec_wave_parse(const char *filename, mmsound_codec_i
info->channels = si.channels;
info->samplerate = si.samplerate;
- debug_msg("filename = %s, frames[%zu], samplerate[%d], channels[%d], format[%x], sections[%d], seekable[%d]",
+ debug_msg("filename = %s, frames[%"PRId64"], samplerate[%d], channels[%d], format[%x], sections[%d], seekable[%d]",
filename, si.frames, si.samplerate, si.channels, si.format, si.sections, si.seekable);
sf_close(sf);