diff options
author | Lennart Poettering <lennart@poettering.net> | 2009-02-23 23:49:08 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2009-02-23 23:49:08 +0100 |
commit | 73c763cb0820bd9671a291c0a7469332ffe6a380 (patch) | |
tree | aed78ff7ab0cdac31453f90aa4d0edd2168fb46f | |
parent | 5fa3f0c497363f84294c0faf9945481634415a3b (diff) |
set esound.byte_order property
-rw-r--r-- | src/pulsecore/protocol-esound.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/pulsecore/protocol-esound.c b/src/pulsecore/protocol-esound.c index e8659e6d..3d903067 100644 --- a/src/pulsecore/protocol-esound.c +++ b/src/pulsecore/protocol-esound.c @@ -34,6 +34,7 @@ #include <pulse/timeval.h> #include <pulse/utf8.h> #include <pulse/xmalloc.h> +#include <pulse/proplist.h> #include <pulsecore/esound.h> #include <pulsecore/memblock.h> @@ -372,6 +373,8 @@ static int esd_proto_connect(connection *c, esd_proto_t request, const void *dat return -1; } + pa_proplist_sets(c->client->proplist, "esound.byte_order", c->swap_byte_order ? "reverse" : "native"); + ok = 1; connection_write(c, &ok, sizeof(int)); return 0; |