summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvslobodyanik <vslobodyanik@luxoft.com>2014-07-07 13:41:57 +0100
committervslobodyanik <vslobodyanik@luxoft.com>2014-07-07 13:41:57 +0100
commit3e66ea17c64fbe86e35df693c4cbe4dd42a7090f (patch)
tree481ce9a1cf763af83d51b83c98993538f48478d8
parent0737681edca9f562ddc93d72b95e6d3d9062533b (diff)
downloadsdl_core-3e66ea17c64fbe86e35df693c4cbe4dd42a7090f.tar.gz
APPLINK-4933:MediaManager causes the warnings
-rw-r--r--src/components/media_manager/src/audio/a2dp_source_player_adapter.cc3
-rw-r--r--src/components/media_manager/src/audio/from_mic_to_file_recorder_thread.cc3
2 files changed, 1 insertions, 5 deletions
diff --git a/src/components/media_manager/src/audio/a2dp_source_player_adapter.cc b/src/components/media_manager/src/audio/a2dp_source_player_adapter.cc
index 697cbcd12f..91604d22c9 100644
--- a/src/components/media_manager/src/audio/a2dp_source_player_adapter.cc
+++ b/src/components/media_manager/src/audio/a2dp_source_player_adapter.cc
@@ -58,9 +58,9 @@ class A2DPSourcePlayerAdapter::A2DPSourcePlayerThread
// The Sample format to use
static const pa_sample_spec sSampleFormat_;
- const int32_t BUFSIZE_;
pa_simple* s_in, *s_out;
std::string device_;
+ const int32_t BUFSIZE_;
bool should_be_stopped_;
sync_primitives::Lock should_be_stopped_lock_;
@@ -223,7 +223,6 @@ void A2DPSourcePlayerAdapter::A2DPSourcePlayerThread::threadMain() {
for (;;) {
uint8_t buf[BUFSIZE_];
- ssize_t r;
pa_usec_t latency;
diff --git a/src/components/media_manager/src/audio/from_mic_to_file_recorder_thread.cc b/src/components/media_manager/src/audio/from_mic_to_file_recorder_thread.cc
index 74c23523e8..32f2c68ea1 100644
--- a/src/components/media_manager/src/audio/from_mic_to_file_recorder_thread.cc
+++ b/src/components/media_manager/src/audio/from_mic_to_file_recorder_thread.cc
@@ -119,9 +119,6 @@ void FromMicToFileRecorderThread::threadMain() {
}
};
- pthread_t wait;
- int32_t retcode;
-
if (!g_thread_supported()) {
g_thread_init(NULL);
}