mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-04 13:29:59 -05:00
set esound.byte_order property
This commit is contained in:
parent
5fa3f0c497
commit
73c763cb08
1 changed files with 3 additions and 0 deletions
|
|
@ -34,6 +34,7 @@
|
||||||
#include <pulse/timeval.h>
|
#include <pulse/timeval.h>
|
||||||
#include <pulse/utf8.h>
|
#include <pulse/utf8.h>
|
||||||
#include <pulse/xmalloc.h>
|
#include <pulse/xmalloc.h>
|
||||||
|
#include <pulse/proplist.h>
|
||||||
|
|
||||||
#include <pulsecore/esound.h>
|
#include <pulsecore/esound.h>
|
||||||
#include <pulsecore/memblock.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;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pa_proplist_sets(c->client->proplist, "esound.byte_order", c->swap_byte_order ? "reverse" : "native");
|
||||||
|
|
||||||
ok = 1;
|
ok = 1;
|
||||||
connection_write(c, &ok, sizeof(int));
|
connection_write(c, &ok, sizeof(int));
|
||||||
return 0;
|
return 0;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue