sad

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

commit 5c6ab238b0cd10acfabec2aad64d436776e8dc57
parent cec480df0a6a6083a02b3d54dbe547c5372360a7
Author: sin <sin@2f30.org>
Date:   Sat, 27 Dec 2014 11:43:22 +0000

Collapse struct

Diffstat:
Moutput.c | 9+--------
1 file changed, 1 insertion(+), 8 deletions(-)

diff --git a/output.c b/output.c @@ -16,14 +16,7 @@ static struct { int enabled; Output *output; } outputs[] = { - { - .name = "sndio", - .bits = 16, - .rate = 44100, - .channels = 2, - .enabled = 1, - .output = &sndiooutput - }, + { "sndio", 16, 44100, 2, 1, &sndiooutput }, }; int