mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
Move i18n.[ch] to src/pulsecore
The header is used in files troughout the tree and is not included in the public api, so it belongs in pulsecore, not in pulse.
This commit is contained in:
parent
464ddcdfea
commit
b4e938e194
45 changed files with 51 additions and 54 deletions
|
|
@ -523,7 +523,6 @@ lib_LTLIBRARIES = \
|
|||
|
||||
libpulsecommon_@PA_MAJORMINOR@_la_SOURCES = \
|
||||
pulse/client-conf.c pulse/client-conf.h \
|
||||
pulse/i18n.c pulse/i18n.h \
|
||||
pulse/fork-detect.c pulse/fork-detect.h \
|
||||
pulse/xmalloc.c pulse/xmalloc.h \
|
||||
pulse/proplist.c pulse/proplist.h \
|
||||
|
|
@ -545,11 +544,12 @@ libpulsecommon_@PA_MAJORMINOR@_la_SOURCES = \
|
|||
pulsecore/endianmacros.h \
|
||||
pulsecore/flist.c pulsecore/flist.h \
|
||||
pulsecore/hashmap.c pulsecore/hashmap.h \
|
||||
pulsecore/i18n.c pulsecore/i18n.h \
|
||||
pulsecore/idxset.c pulsecore/idxset.h \
|
||||
pulsecore/arpa-inet.c pulsecore/arpa-inet.h \
|
||||
pulsecore/iochannel.c pulsecore/iochannel.h \
|
||||
pulsecore/ioline.c pulsecore/ioline.h \
|
||||
pulsecore/ipacl.h pulsecore/ipacl.c \
|
||||
pulsecore/ipacl.c pulsecore/ipacl.h \
|
||||
pulsecore/llist.h \
|
||||
pulsecore/lock-autospawn.c pulsecore/lock-autospawn.h \
|
||||
pulsecore/log.c pulsecore/log.h \
|
||||
|
|
|
|||
|
|
@ -28,8 +28,7 @@
|
|||
#include <errno.h>
|
||||
#include <sys/types.h>
|
||||
|
||||
#include <pulse/i18n.h>
|
||||
|
||||
#include <pulsecore/i18n.h>
|
||||
#include <pulsecore/macro.h>
|
||||
#include <pulsecore/log.h>
|
||||
|
||||
|
|
|
|||
|
|
@ -28,10 +28,10 @@
|
|||
#include <getopt.h>
|
||||
|
||||
#include <pulse/xmalloc.h>
|
||||
#include <pulse/i18n.h>
|
||||
#include <pulse/util.h>
|
||||
|
||||
#include <pulsecore/core-util.h>
|
||||
#include <pulsecore/i18n.h>
|
||||
#include <pulsecore/strbuf.h>
|
||||
#include <pulsecore/macro.h>
|
||||
|
||||
|
|
|
|||
|
|
@ -37,11 +37,11 @@
|
|||
|
||||
#include <pulse/xmalloc.h>
|
||||
#include <pulse/timeval.h>
|
||||
#include <pulse/i18n.h>
|
||||
#include <pulse/version.h>
|
||||
|
||||
#include <pulsecore/core-error.h>
|
||||
#include <pulsecore/core-util.h>
|
||||
#include <pulsecore/i18n.h>
|
||||
#include <pulsecore/strbuf.h>
|
||||
#include <pulsecore/conf-parser.h>
|
||||
#include <pulsecore/resampler.h>
|
||||
|
|
|
|||
|
|
@ -29,11 +29,11 @@
|
|||
#include <ltdl.h>
|
||||
|
||||
#include <pulse/util.h>
|
||||
#include <pulse/i18n.h>
|
||||
|
||||
#include <pulsecore/modinfo.h>
|
||||
#include <pulsecore/core-util.h>
|
||||
#include <pulsecore/i18n.h>
|
||||
#include <pulsecore/macro.h>
|
||||
#include <pulsecore/modinfo.h>
|
||||
|
||||
#include "dumpmodules.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -36,8 +36,7 @@
|
|||
|
||||
#include <ltdl.h>
|
||||
|
||||
#include <pulse/i18n.h>
|
||||
|
||||
#include <pulsecore/i18n.h>
|
||||
#include <pulsecore/macro.h>
|
||||
#include <pulsecore/log.h>
|
||||
|
||||
|
|
|
|||
|
|
@ -66,8 +66,8 @@
|
|||
#include <pulse/mainloop-signal.h>
|
||||
#include <pulse/timeval.h>
|
||||
#include <pulse/xmalloc.h>
|
||||
#include <pulse/i18n.h>
|
||||
|
||||
#include <pulsecore/i18n.h>
|
||||
#include <pulsecore/lock-autospawn.h>
|
||||
#include <pulsecore/socket.h>
|
||||
#include <pulsecore/core-error.h>
|
||||
|
|
|
|||
|
|
@ -38,9 +38,9 @@
|
|||
#include <pulse/util.h>
|
||||
#include <pulse/volume.h>
|
||||
#include <pulse/xmalloc.h>
|
||||
#include <pulse/i18n.h>
|
||||
#include <pulse/utf8.h>
|
||||
|
||||
#include <pulsecore/i18n.h>
|
||||
#include <pulsecore/log.h>
|
||||
#include <pulsecore/macro.h>
|
||||
#include <pulsecore/core-util.h>
|
||||
|
|
|
|||
|
|
@ -32,13 +32,13 @@
|
|||
#include <valgrind/memcheck.h>
|
||||
#endif
|
||||
|
||||
#include <pulse/i18n.h>
|
||||
#include <pulse/rtclock.h>
|
||||
#include <pulse/timeval.h>
|
||||
#include <pulse/volume.h>
|
||||
#include <pulse/xmalloc.h>
|
||||
|
||||
#include <pulsecore/core.h>
|
||||
#include <pulsecore/i18n.h>
|
||||
#include <pulsecore/module.h>
|
||||
#include <pulsecore/memchunk.h>
|
||||
#include <pulsecore/sink.h>
|
||||
|
|
|
|||
|
|
@ -28,13 +28,13 @@
|
|||
|
||||
#include <asoundlib.h>
|
||||
|
||||
#include <pulse/i18n.h>
|
||||
#include <pulse/rtclock.h>
|
||||
#include <pulse/timeval.h>
|
||||
#include <pulse/volume.h>
|
||||
#include <pulse/xmalloc.h>
|
||||
|
||||
#include <pulsecore/core.h>
|
||||
#include <pulsecore/i18n.h>
|
||||
#include <pulsecore/module.h>
|
||||
#include <pulsecore/memchunk.h>
|
||||
#include <pulsecore/sink.h>
|
||||
|
|
|
|||
|
|
@ -31,9 +31,9 @@
|
|||
#include <pulse/xmalloc.h>
|
||||
#include <pulse/timeval.h>
|
||||
#include <pulse/util.h>
|
||||
#include <pulse/i18n.h>
|
||||
#include <pulse/utf8.h>
|
||||
|
||||
#include <pulsecore/i18n.h>
|
||||
#include <pulsecore/log.h>
|
||||
#include <pulsecore/macro.h>
|
||||
#include <pulsecore/core-util.h>
|
||||
|
|
|
|||
|
|
@ -24,9 +24,9 @@
|
|||
#endif
|
||||
|
||||
#include <pulse/xmalloc.h>
|
||||
#include <pulse/i18n.h>
|
||||
|
||||
#include <pulsecore/core-util.h>
|
||||
#include <pulsecore/i18n.h>
|
||||
#include <pulsecore/modargs.h>
|
||||
#include <pulsecore/queue.h>
|
||||
|
||||
|
|
|
|||
|
|
@ -28,12 +28,12 @@
|
|||
#include <linux/sockios.h>
|
||||
#include <arpa/inet.h>
|
||||
|
||||
#include <pulse/i18n.h>
|
||||
#include <pulse/rtclock.h>
|
||||
#include <pulse/sample.h>
|
||||
#include <pulse/timeval.h>
|
||||
#include <pulse/xmalloc.h>
|
||||
|
||||
#include <pulsecore/i18n.h>
|
||||
#include <pulsecore/module.h>
|
||||
#include <pulsecore/modargs.h>
|
||||
#include <pulsecore/core-rtclock.h>
|
||||
|
|
|
|||
|
|
@ -35,10 +35,10 @@
|
|||
#include "echo-cancel.h"
|
||||
|
||||
#include <pulse/xmalloc.h>
|
||||
#include <pulse/i18n.h>
|
||||
#include <pulse/timeval.h>
|
||||
#include <pulse/rtclock.h>
|
||||
|
||||
#include <pulsecore/i18n.h>
|
||||
#include <pulsecore/atomic.h>
|
||||
#include <pulsecore/macro.h>
|
||||
#include <pulsecore/namereg.h>
|
||||
|
|
|
|||
|
|
@ -24,13 +24,13 @@
|
|||
#endif
|
||||
|
||||
#include <pulse/xmalloc.h>
|
||||
#include <pulse/i18n.h>
|
||||
|
||||
#include <pulsecore/core.h>
|
||||
#include <pulsecore/core-util.h>
|
||||
#include <pulsecore/i18n.h>
|
||||
#include <pulsecore/sink.h>
|
||||
#include <pulsecore/modargs.h>
|
||||
#include <pulsecore/log.h>
|
||||
#include <pulsecore/core-util.h>
|
||||
|
||||
#include "module-always-sink-symdef.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -46,10 +46,10 @@
|
|||
#include <fftw3.h>
|
||||
|
||||
#include <pulse/xmalloc.h>
|
||||
#include <pulse/i18n.h>
|
||||
#include <pulse/timeval.h>
|
||||
|
||||
#include <pulsecore/core-rtclock.h>
|
||||
#include <pulsecore/i18n.h>
|
||||
#include <pulsecore/aupdate.h>
|
||||
#include <pulsecore/namereg.h>
|
||||
#include <pulsecore/sink.h>
|
||||
|
|
|
|||
|
|
@ -25,14 +25,14 @@
|
|||
|
||||
#include <pulse/timeval.h>
|
||||
#include <pulse/rtclock.h>
|
||||
#include <pulse/i18n.h>
|
||||
#include <pulse/xmalloc.h>
|
||||
|
||||
#include <pulsecore/core.h>
|
||||
#include <pulsecore/core-util.h>
|
||||
#include <pulsecore/i18n.h>
|
||||
#include <pulsecore/macro.h>
|
||||
#include <pulsecore/hashmap.h>
|
||||
#include <pulsecore/hook-list.h>
|
||||
#include <pulsecore/core.h>
|
||||
#include <pulsecore/core-util.h>
|
||||
#include <pulsecore/sink-input.h>
|
||||
#include <pulsecore/modargs.h>
|
||||
|
||||
|
|
|
|||
|
|
@ -29,8 +29,8 @@
|
|||
#include <math.h>
|
||||
|
||||
#include <pulse/xmalloc.h>
|
||||
#include <pulse/i18n.h>
|
||||
|
||||
#include <pulsecore/i18n.h>
|
||||
#include <pulsecore/namereg.h>
|
||||
#include <pulsecore/sink.h>
|
||||
#include <pulsecore/module.h>
|
||||
|
|
|
|||
|
|
@ -31,8 +31,8 @@
|
|||
#include <pulse/rtclock.h>
|
||||
#include <pulse/timeval.h>
|
||||
#include <pulse/xmalloc.h>
|
||||
#include <pulse/i18n.h>
|
||||
|
||||
#include <pulsecore/i18n.h>
|
||||
#include <pulsecore/macro.h>
|
||||
#include <pulsecore/sink.h>
|
||||
#include <pulsecore/module.h>
|
||||
|
|
|
|||
|
|
@ -30,9 +30,9 @@
|
|||
|
||||
#include <pulse/gccmacro.h>
|
||||
#include <pulse/xmalloc.h>
|
||||
#include <pulse/i18n.h>
|
||||
#include <pulse/utf8.h>
|
||||
|
||||
#include <pulsecore/i18n.h>
|
||||
#include <pulsecore/sink.h>
|
||||
#include <pulsecore/source.h>
|
||||
#include <pulsecore/core-util.h>
|
||||
|
|
|
|||
|
|
@ -29,8 +29,8 @@
|
|||
|
||||
#include <pulse/gccmacro.h>
|
||||
#include <pulse/xmalloc.h>
|
||||
#include <pulse/i18n.h>
|
||||
|
||||
#include <pulsecore/i18n.h>
|
||||
#include <pulsecore/namereg.h>
|
||||
#include <pulsecore/sink.h>
|
||||
#include <pulsecore/module.h>
|
||||
|
|
|
|||
|
|
@ -27,8 +27,8 @@
|
|||
#include <stdio.h>
|
||||
|
||||
#include <pulse/xmalloc.h>
|
||||
#include <pulse/i18n.h>
|
||||
|
||||
#include <pulsecore/i18n.h>
|
||||
#include <pulsecore/macro.h>
|
||||
#include <pulsecore/namereg.h>
|
||||
#include <pulsecore/sink.h>
|
||||
|
|
|
|||
|
|
@ -26,10 +26,10 @@
|
|||
#include <errno.h>
|
||||
|
||||
#include <pulse/xmalloc.h>
|
||||
#include <pulse/i18n.h>
|
||||
|
||||
#include <pulsecore/core-error.h>
|
||||
#include <pulsecore/core-util.h>
|
||||
#include <pulsecore/i18n.h>
|
||||
#include <pulsecore/shared.h>
|
||||
|
||||
#ifdef HAVE_DBUS
|
||||
|
|
|
|||
|
|
@ -29,8 +29,8 @@
|
|||
#include <string.h>
|
||||
|
||||
#include <pulse/xmalloc.h>
|
||||
#include <pulse/i18n.h>
|
||||
|
||||
#include <pulsecore/i18n.h>
|
||||
#include <pulsecore/core-util.h>
|
||||
#include <pulsecore/macro.h>
|
||||
#include <pulsecore/bitset.h>
|
||||
|
|
|
|||
|
|
@ -28,8 +28,8 @@
|
|||
#include <xcb/xcb.h>
|
||||
|
||||
#include <pulse/xmalloc.h>
|
||||
#include <pulse/i18n.h>
|
||||
|
||||
#include <pulsecore/i18n.h>
|
||||
#include <pulsecore/x11prop.h>
|
||||
#include <pulsecore/log.h>
|
||||
#include <pulsecore/core-util.h>
|
||||
|
|
|
|||
|
|
@ -29,8 +29,8 @@
|
|||
#include <errno.h>
|
||||
|
||||
#include <pulse/xmalloc.h>
|
||||
#include <pulse/i18n.h>
|
||||
|
||||
#include <pulsecore/i18n.h>
|
||||
#include <pulsecore/macro.h>
|
||||
#include <pulsecore/core-error.h>
|
||||
#include <pulsecore/log.h>
|
||||
|
|
|
|||
|
|
@ -44,7 +44,6 @@
|
|||
#include <pulse/version.h>
|
||||
#include <pulse/xmalloc.h>
|
||||
#include <pulse/util.h>
|
||||
#include <pulse/i18n.h>
|
||||
#include <pulse/mainloop.h>
|
||||
#include <pulse/timeval.h>
|
||||
#include <pulse/fork-detect.h>
|
||||
|
|
@ -54,6 +53,7 @@
|
|||
#endif
|
||||
|
||||
#include <pulsecore/core-error.h>
|
||||
#include <pulsecore/i18n.h>
|
||||
#include <pulsecore/native-common.h>
|
||||
#include <pulsecore/pdispatch.h>
|
||||
#include <pulsecore/pstream.h>
|
||||
|
|
|
|||
|
|
@ -29,7 +29,8 @@
|
|||
#include <stdlib.h>
|
||||
|
||||
#include <pulse/def.h>
|
||||
#include <pulse/i18n.h>
|
||||
|
||||
#include <pulsecore/i18n.h>
|
||||
|
||||
#include "error.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -29,9 +29,9 @@
|
|||
|
||||
#include <pulse/internal.h>
|
||||
#include <pulse/xmalloc.h>
|
||||
#include <pulse/i18n.h>
|
||||
|
||||
#include <pulsecore/core-util.h>
|
||||
#include <pulsecore/i18n.h>
|
||||
#include <pulsecore/macro.h>
|
||||
|
||||
#include "format.h"
|
||||
|
|
|
|||
|
|
@ -26,8 +26,8 @@
|
|||
#include <stdlib.h>
|
||||
|
||||
#include <pulse/xmalloc.h>
|
||||
#include <pulse/i18n.h>
|
||||
|
||||
#include <pulsecore/i18n.h>
|
||||
#include <pulsecore/macro.h>
|
||||
|
||||
#include "mainloop-api.h"
|
||||
|
|
|
|||
|
|
@ -36,10 +36,10 @@
|
|||
#endif
|
||||
|
||||
#include <pulse/xmalloc.h>
|
||||
#include <pulse/i18n.h>
|
||||
|
||||
#include <pulsecore/core-error.h>
|
||||
#include <pulsecore/core-util.h>
|
||||
#include <pulsecore/i18n.h>
|
||||
#include <pulsecore/log.h>
|
||||
#include <pulsecore/macro.h>
|
||||
|
||||
|
|
|
|||
|
|
@ -34,7 +34,6 @@
|
|||
#include <pulsecore/pipe.h>
|
||||
#endif
|
||||
|
||||
#include <pulse/i18n.h>
|
||||
#include <pulse/rtclock.h>
|
||||
#include <pulse/timeval.h>
|
||||
#include <pulse/xmalloc.h>
|
||||
|
|
@ -42,6 +41,7 @@
|
|||
#include <pulsecore/poll.h>
|
||||
#include <pulsecore/core-rtclock.h>
|
||||
#include <pulsecore/core-util.h>
|
||||
#include <pulsecore/i18n.h>
|
||||
#include <pulsecore/llist.h>
|
||||
#include <pulsecore/log.h>
|
||||
#include <pulsecore/core-error.h>
|
||||
|
|
|
|||
|
|
@ -28,9 +28,9 @@
|
|||
#include <string.h>
|
||||
|
||||
#include <pulse/timeval.h>
|
||||
#include <pulse/i18n.h>
|
||||
|
||||
#include <pulsecore/core-util.h>
|
||||
#include <pulsecore/i18n.h>
|
||||
#include <pulsecore/macro.h>
|
||||
|
||||
#include "sample.h"
|
||||
|
|
|
|||
|
|
@ -33,8 +33,8 @@
|
|||
|
||||
#include <pulse/xmalloc.h>
|
||||
#include <pulse/mainloop.h>
|
||||
#include <pulse/i18n.h>
|
||||
|
||||
#include <pulsecore/i18n.h>
|
||||
#include <pulsecore/log.h>
|
||||
#include <pulsecore/thread.h>
|
||||
#include <pulsecore/mutex.h>
|
||||
|
|
|
|||
|
|
@ -27,9 +27,8 @@
|
|||
#include <string.h>
|
||||
#include <math.h>
|
||||
|
||||
#include <pulse/i18n.h>
|
||||
|
||||
#include <pulsecore/core-util.h>
|
||||
#include <pulsecore/i18n.h>
|
||||
#include <pulsecore/macro.h>
|
||||
#include <pulsecore/sample-util.h>
|
||||
|
||||
|
|
|
|||
|
|
@ -23,7 +23,6 @@
|
|||
***/
|
||||
|
||||
#include <pulse/cdecl.h>
|
||||
#include <pulse/version.h>
|
||||
|
||||
PA_C_DECL_BEGIN
|
||||
|
||||
|
|
@ -32,9 +32,9 @@
|
|||
#endif
|
||||
|
||||
#include <pulse/gccmacro.h>
|
||||
#include <pulse/i18n.h>
|
||||
#include <pulse/xmalloc.h>
|
||||
|
||||
#include <pulsecore/i18n.h>
|
||||
#include <pulsecore/poll.h>
|
||||
#include <pulsecore/mutex.h>
|
||||
#include <pulsecore/thread.h>
|
||||
|
|
|
|||
|
|
@ -34,10 +34,10 @@
|
|||
#include <pulse/xmalloc.h>
|
||||
#include <pulse/timeval.h>
|
||||
#include <pulse/util.h>
|
||||
#include <pulse/i18n.h>
|
||||
#include <pulse/rtclock.h>
|
||||
#include <pulse/internal.h>
|
||||
|
||||
#include <pulsecore/i18n.h>
|
||||
#include <pulsecore/sink-input.h>
|
||||
#include <pulsecore/namereg.h>
|
||||
#include <pulsecore/core-util.h>
|
||||
|
|
|
|||
|
|
@ -25,13 +25,13 @@
|
|||
#include <getopt.h>
|
||||
#include <locale.h>
|
||||
|
||||
#include <pulse/i18n.h>
|
||||
#include <pulse/pulseaudio.h>
|
||||
|
||||
#include <pulse/rtclock.h>
|
||||
#include <pulse/sample.h>
|
||||
#include <pulse/volume.h>
|
||||
|
||||
#include <pulsecore/i18n.h>
|
||||
#include <pulsecore/resampler.h>
|
||||
#include <pulsecore/macro.h>
|
||||
#include <pulsecore/endianmacros.h>
|
||||
|
|
|
|||
|
|
@ -37,15 +37,14 @@
|
|||
|
||||
#include <sndfile.h>
|
||||
|
||||
#include <pulse/i18n.h>
|
||||
#include <pulse/pulseaudio.h>
|
||||
#include <pulse/rtclock.h>
|
||||
|
||||
#include <pulsecore/macro.h>
|
||||
#include <pulsecore/core-util.h>
|
||||
#include <pulsecore/i18n.h>
|
||||
#include <pulsecore/log.h>
|
||||
#include <pulsecore/macro.h>
|
||||
#include <pulsecore/sndfile-util.h>
|
||||
#include <pulsecore/core-util.h>
|
||||
|
||||
#define TIME_EVENT_USEC 50000
|
||||
|
||||
|
|
|
|||
|
|
@ -34,8 +34,8 @@
|
|||
|
||||
#include <pulse/util.h>
|
||||
#include <pulse/xmalloc.h>
|
||||
#include <pulse/i18n.h>
|
||||
|
||||
#include <pulsecore/i18n.h>
|
||||
#include <pulsecore/poll.h>
|
||||
#include <pulsecore/macro.h>
|
||||
#include <pulsecore/core-util.h>
|
||||
|
|
|
|||
|
|
@ -35,9 +35,9 @@
|
|||
|
||||
#include <sndfile.h>
|
||||
|
||||
#include <pulse/i18n.h>
|
||||
#include <pulse/pulseaudio.h>
|
||||
|
||||
#include <pulsecore/i18n.h>
|
||||
#include <pulsecore/macro.h>
|
||||
#include <pulsecore/core-util.h>
|
||||
#include <pulsecore/log.h>
|
||||
|
|
|
|||
|
|
@ -40,8 +40,9 @@
|
|||
#include <sys/prctl.h>
|
||||
#endif
|
||||
|
||||
#include <pulse/i18n.h>
|
||||
#include <pulse/pulseaudio.h>
|
||||
|
||||
#include <pulsecore/i18n.h>
|
||||
#include <pulsecore/macro.h>
|
||||
|
||||
static pa_context *context = NULL;
|
||||
|
|
|
|||
|
|
@ -31,10 +31,10 @@
|
|||
#include <xcb/xcb.h>
|
||||
|
||||
#include <pulse/util.h>
|
||||
#include <pulse/i18n.h>
|
||||
#include <pulse/client-conf.h>
|
||||
|
||||
#include <pulsecore/core-util.h>
|
||||
#include <pulsecore/i18n.h>
|
||||
#include <pulsecore/log.h>
|
||||
#include <pulsecore/authkey.h>
|
||||
#include <pulsecore/native-common.h>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue