mirror of
https://github.com/badaix/snapcast.git
synced 2025-05-19 20:16:15 +02:00
lower alsa period time from 30 to 15 ms
This commit is contained in:
parent
c6324d0811
commit
98ac8b2fb7
2 changed files with 2 additions and 1 deletions
|
@ -23,7 +23,7 @@
|
||||||
#include "common/utils/string_utils.hpp"
|
#include "common/utils/string_utils.hpp"
|
||||||
|
|
||||||
//#define BUFFER_TIME 120000
|
//#define BUFFER_TIME 120000
|
||||||
#define PERIOD_TIME 30000
|
#define PERIOD_TIME 15000
|
||||||
#define exp10(x) (exp((x)*log(10)))
|
#define exp10(x) (exp((x)*log(10)))
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
|
|
@ -96,6 +96,7 @@ void AlsaStream::start()
|
||||||
|
|
||||||
void AlsaStream::stop()
|
void AlsaStream::stop()
|
||||||
{
|
{
|
||||||
|
PcmStream::stop();
|
||||||
uninitAlsa();
|
uninitAlsa();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue