sad

simple audio daemon
git clone git://git.2f30.org/sad
Log | Files | Refs | LICENSE

commit 103dca11868636dba3b8ae04ab4dbbc7bd5b8b9f
parent a0ac7e311c5533c7cfa3fea010674dad41debd17
Author: sin <sin@2f30.org>
Date:   Thu, 21 Jan 2021 19:01:01 +0000

Re-format code

Diffstat:
Mconfig.def.h | 3---
Msad.h | 3+--
2 files changed, 1 insertion(+), 5 deletions(-)

diff --git a/config.def.h b/config.def.h @@ -4,7 +4,6 @@ #define CHANNELS 2 #define SOUNDSYS ALSA - /* Only need to edit below this line if you have multiple sound backends. */ @@ -25,7 +24,6 @@ #define FIFOON 0 #endif - Outputcfg outputcfgs[] = { {.name = "sndio", .fmt = {.bits = BITDEPTH, .rate = BITRATE, .channels = CHANNELS}, @@ -40,4 +38,3 @@ Outputcfg outputcfgs[] = { .enabled = FIFOON, .output = &fifooutput}, }; - diff --git a/sad.h b/sad.h @@ -6,7 +6,7 @@ #define PROTOCOLVERSION "0.0" #define DEFAULTVOL 100 -//Magic number flags to enable with. +// Magic number flags to enable with. #define SNDIO 0 #define ALSA 1 #define FIFO 2 @@ -140,4 +140,3 @@ void s16monotostereo(short *, short *, size_t); void s16stereotomono(short *, short *, size_t); void s16tofloat(short *, float *, size_t); void floattos16(float *, short *, size_t); -