aboutsummaryrefslogtreecommitdiff
path: root/audio/esdaudio.c
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2009-08-11 02:31:17 +0200
committermalc <av1474@comtv.ru>2009-08-11 20:51:24 +0400
commit1a40d5e23577b955265fe12a2b7b5222ec2df0f2 (patch)
treea5d043000b861d524237dcb6d581ee1026f99f86 /audio/esdaudio.c
parent1dd3e4d13d0d59de61de518c9e504cb444782510 (diff)
use C99 initializers for all audio/*
Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'audio/esdaudio.c')
-rw-r--r--audio/esdaudio.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/audio/esdaudio.c b/audio/esdaudio.c
index 23e488a88c..4648fd4b0d 100644
--- a/audio/esdaudio.c
+++ b/audio/esdaudio.c
@@ -58,10 +58,8 @@ static struct {
char *dac_host;
char *adc_host;
} conf = {
- 1024,
- 2,
- NULL,
- NULL
+ .samples = 1024,
+ .divisor = 2,
};
static void GCC_FMT_ATTR (2, 3) qesd_logerr (int err, const char *fmt, ...)