Stefan Schuermans
implement common sound dir, add some sounds
Stefan Schuermans commited 9eeb24a at 2019-09-01 13:45:33
/* Blinker
Copyright 2011-2019 Stefan Schuermans <stefan@blinkenarea.org>
Copyleft GNU public license - http://www.gnu.org/copyleft/gpl.html
a blinkenarea.org project */
#include <chrono>
#include <condition_variable>
#include <iostream>
#include <mutex>
#include <sstream>
#include <stdarg.h>
#include <stdio.h>
#include <string>
#include <string.h>
#include <thread>
#include <vector>
#ifdef BLINKER_CFG_LINPHONE
#include <linphone/linphonecore.h>
#endif
#include "Directory.h"
#include "File.h"
#include "Module.h"
#include "NameFile.h"
#include "OpConn.h"
#include "OpConnIf.h"
#include "SipPhone.h"
#include "Time.h"
#include "TimeCallee.h"
namespace Blinker {
#ifdef BLINKER_CFG_LINPHONE
/**
* everything using the linphone library happens in a separate thread,
* because some calls to linphone take long (up to two seconds)
*/
namespace linphone {
/// interlock for liblinphone, higher in mutex hierarchy than shared data mutex
static std::mutex g_mtx;
static char const *loglevel2str(OrtpLogLevel lev)
{
switch(lev) {
case ORTP_DEBUG: return "DEBUG";
case ORTP_MESSAGE: return "MESSAGE";
case ORTP_WARNING: return "WARNING";
case ORTP_ERROR: return "ERROR";
 
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX