mirror of
https://github.com/badaix/snapcast.git
synced 2025-05-16 02:26:41 +02:00
Reformat code
This commit is contained in:
parent
c6518a4709
commit
e1c8250876
32 changed files with 505 additions and 351 deletions
|
@ -85,7 +85,8 @@ void FlacEncoder::encode(const msg::PcmChunk& chunk)
|
|||
pcmBuffer_ = static_cast<FLAC__int32*>(realloc(pcmBuffer_, pcmBufferSize_ * sizeof(FLAC__int32)));
|
||||
}
|
||||
|
||||
auto clip = [](int32_t min, int32_t max, int32_t value) -> int32_t {
|
||||
auto clip = [](int32_t min, int32_t max, int32_t value) -> int32_t
|
||||
{
|
||||
if (value < min)
|
||||
return min;
|
||||
if (value > max)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue