compiles under OpenWrt

This commit is contained in:
badaix 2016-03-31 23:01:01 +02:00
parent 365cb85d0f
commit 9ec9256ac4
16 changed files with 268 additions and 115 deletions

View file

@ -32,6 +32,7 @@
#endif
#include "common/log.h"
#include "common/signalHandler.h"
#include "common/compat.h"
using namespace std;
@ -46,7 +47,7 @@ PcmDevice getPcmDevice(const std::string& soundcard)
try
{
int soundcardIdx = std::stoi(soundcard);
int soundcardIdx = cpt::stoi(soundcard);
for (auto dev: pcmDevices)
if (dev.idx == soundcardIdx)
return dev;