mirror of
https://github.com/badaix/snapcast.git
synced 2025-06-01 02:11:47 +02:00
compiles under OpenWrt
This commit is contained in:
parent
365cb85d0f
commit
9ec9256ac4
16 changed files with 268 additions and 115 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue