mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-05 13:29:57 -05:00
Move xmalloc to the public side (libpolyp).
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@908 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
cdd3588f3a
commit
d9cc2cfcb9
105 changed files with 193 additions and 109 deletions
|
|
@ -27,7 +27,8 @@
|
|||
#include <asoundlib.h>
|
||||
|
||||
#include <polyp/sample.h>
|
||||
#include <polypcore/xmalloc.h>
|
||||
#include <polyp/xmalloc.h>
|
||||
|
||||
#include <polypcore/log.h>
|
||||
|
||||
#include "alsa-util.h"
|
||||
|
|
|
|||
|
|
@ -21,8 +21,9 @@
|
|||
|
||||
#include <assert.h>
|
||||
|
||||
#include <polyp/xmalloc.h>
|
||||
|
||||
#include <polypcore/log.h>
|
||||
#include <polypcore/xmalloc.h>
|
||||
#include <polypcore/props.h>
|
||||
|
||||
#include "howl-wrap.h"
|
||||
|
|
|
|||
|
|
@ -34,6 +34,8 @@
|
|||
|
||||
#include <asoundlib.h>
|
||||
|
||||
#include <polyp/xmalloc.h>
|
||||
|
||||
#include <polypcore/core.h>
|
||||
#include <polypcore/module.h>
|
||||
#include <polypcore/memchunk.h>
|
||||
|
|
@ -41,7 +43,6 @@
|
|||
#include <polypcore/modargs.h>
|
||||
#include <polypcore/util.h>
|
||||
#include <polypcore/sample-util.h>
|
||||
#include <polypcore/xmalloc.h>
|
||||
#include <polypcore/log.h>
|
||||
|
||||
#include "alsa-util.h"
|
||||
|
|
|
|||
|
|
@ -34,6 +34,8 @@
|
|||
|
||||
#include <asoundlib.h>
|
||||
|
||||
#include <polyp/xmalloc.h>
|
||||
|
||||
#include <polypcore/core.h>
|
||||
#include <polypcore/module.h>
|
||||
#include <polypcore/memchunk.h>
|
||||
|
|
@ -41,7 +43,6 @@
|
|||
#include <polypcore/modargs.h>
|
||||
#include <polypcore/util.h>
|
||||
#include <polypcore/sample-util.h>
|
||||
#include <polypcore/xmalloc.h>
|
||||
#include <polypcore/log.h>
|
||||
|
||||
#include "alsa-util.h"
|
||||
|
|
|
|||
|
|
@ -26,6 +26,8 @@
|
|||
#include <assert.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include <polyp/xmalloc.h>
|
||||
|
||||
#include <polypcore/module.h>
|
||||
#include <polypcore/llist.h>
|
||||
#include <polypcore/sink.h>
|
||||
|
|
@ -33,7 +35,6 @@
|
|||
#include <polypcore/memblockq.h>
|
||||
#include <polypcore/log.h>
|
||||
#include <polypcore/util.h>
|
||||
#include <polypcore/xmalloc.h>
|
||||
#include <polypcore/modargs.h>
|
||||
#include <polypcore/namereg.h>
|
||||
|
||||
|
|
|
|||
|
|
@ -33,9 +33,10 @@
|
|||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
|
||||
#include <polyp/xmalloc.h>
|
||||
|
||||
#include <polypcore/module.h>
|
||||
#include <polypcore/modargs.h>
|
||||
#include <polypcore/xmalloc.h>
|
||||
#include <polypcore/log.h>
|
||||
#include <polypcore/util.h>
|
||||
|
||||
|
|
|
|||
|
|
@ -33,12 +33,13 @@
|
|||
#include <unistd.h>
|
||||
#include <limits.h>
|
||||
|
||||
#include <polyp/xmalloc.h>
|
||||
|
||||
#include <polypcore/iochannel.h>
|
||||
#include <polypcore/sink.h>
|
||||
#include <polypcore/module.h>
|
||||
#include <polypcore/util.h>
|
||||
#include <polypcore/modargs.h>
|
||||
#include <polypcore/xmalloc.h>
|
||||
#include <polypcore/log.h>
|
||||
#include <polypcore/socket-client.h>
|
||||
#include <polypcore/esound.h>
|
||||
|
|
|
|||
|
|
@ -36,12 +36,13 @@
|
|||
|
||||
#include <jack/jack.h>
|
||||
|
||||
#include <polyp/xmalloc.h>
|
||||
|
||||
#include <polypcore/iochannel.h>
|
||||
#include <polypcore/sink.h>
|
||||
#include <polypcore/module.h>
|
||||
#include <polypcore/util.h>
|
||||
#include <polypcore/modargs.h>
|
||||
#include <polypcore/xmalloc.h>
|
||||
#include <polypcore/log.h>
|
||||
#include <polyp/mainloop-api.h>
|
||||
|
||||
|
|
|
|||
|
|
@ -36,12 +36,13 @@
|
|||
|
||||
#include <jack/jack.h>
|
||||
|
||||
#include <polyp/xmalloc.h>
|
||||
|
||||
#include <polypcore/iochannel.h>
|
||||
#include <polypcore/source.h>
|
||||
#include <polypcore/module.h>
|
||||
#include <polypcore/util.h>
|
||||
#include <polypcore/modargs.h>
|
||||
#include <polypcore/xmalloc.h>
|
||||
#include <polypcore/log.h>
|
||||
#include <polyp/mainloop-api.h>
|
||||
|
||||
|
|
|
|||
|
|
@ -30,11 +30,12 @@
|
|||
#include <lirc/lirc_client.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include <polyp/xmalloc.h>
|
||||
|
||||
#include <polypcore/module.h>
|
||||
#include <polypcore/log.h>
|
||||
#include <polypcore/namereg.h>
|
||||
#include <polypcore/sink.h>
|
||||
#include <polypcore/xmalloc.h>
|
||||
#include <polypcore/modargs.h>
|
||||
|
||||
#include "module-lirc-symdef.h"
|
||||
|
|
|
|||
|
|
@ -32,12 +32,13 @@
|
|||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include <polyp/xmalloc.h>
|
||||
|
||||
#include <polypcore/module.h>
|
||||
#include <polypcore/util.h>
|
||||
#include <polypcore/modargs.h>
|
||||
#include <polypcore/log.h>
|
||||
#include <polypcore/core-subscribe.h>
|
||||
#include <polypcore/xmalloc.h>
|
||||
#include <polypcore/sink-input.h>
|
||||
#include <polypcore/util.h>
|
||||
|
||||
|
|
|
|||
|
|
@ -33,11 +33,12 @@
|
|||
|
||||
#include <linux/input.h>
|
||||
|
||||
#include <polyp/xmalloc.h>
|
||||
|
||||
#include <polypcore/module.h>
|
||||
#include <polypcore/log.h>
|
||||
#include <polypcore/namereg.h>
|
||||
#include <polypcore/sink.h>
|
||||
#include <polypcore/xmalloc.h>
|
||||
#include <polypcore/modargs.h>
|
||||
#include <polypcore/util.h>
|
||||
|
||||
|
|
|
|||
|
|
@ -33,12 +33,13 @@
|
|||
#include <unistd.h>
|
||||
#include <limits.h>
|
||||
|
||||
#include <polyp/xmalloc.h>
|
||||
|
||||
#include <polypcore/iochannel.h>
|
||||
#include <polypcore/sink.h>
|
||||
#include <polypcore/module.h>
|
||||
#include <polypcore/util.h>
|
||||
#include <polypcore/modargs.h>
|
||||
#include <polypcore/xmalloc.h>
|
||||
#include <polypcore/log.h>
|
||||
|
||||
#include "module-null-sink-symdef.h"
|
||||
|
|
|
|||
|
|
@ -36,6 +36,8 @@
|
|||
#include <limits.h>
|
||||
#include <sys/mman.h>
|
||||
|
||||
#include <polyp/xmalloc.h>
|
||||
|
||||
#include <polypcore/iochannel.h>
|
||||
#include <polypcore/sink.h>
|
||||
#include <polypcore/source.h>
|
||||
|
|
@ -43,7 +45,6 @@
|
|||
#include <polypcore/sample-util.h>
|
||||
#include <polypcore/util.h>
|
||||
#include <polypcore/modargs.h>
|
||||
#include <polypcore/xmalloc.h>
|
||||
#include <polypcore/log.h>
|
||||
|
||||
#include "oss-util.h"
|
||||
|
|
|
|||
|
|
@ -35,6 +35,8 @@
|
|||
#include <unistd.h>
|
||||
#include <limits.h>
|
||||
|
||||
#include <polyp/xmalloc.h>
|
||||
|
||||
#include <polypcore/iochannel.h>
|
||||
#include <polypcore/sink.h>
|
||||
#include <polypcore/source.h>
|
||||
|
|
@ -42,7 +44,6 @@
|
|||
#include <polypcore/sample-util.h>
|
||||
#include <polypcore/util.h>
|
||||
#include <polypcore/modargs.h>
|
||||
#include <polypcore/xmalloc.h>
|
||||
#include <polypcore/log.h>
|
||||
|
||||
#include "oss-util.h"
|
||||
|
|
|
|||
|
|
@ -33,12 +33,13 @@
|
|||
#include <unistd.h>
|
||||
#include <limits.h>
|
||||
|
||||
#include <polyp/xmalloc.h>
|
||||
|
||||
#include <polypcore/iochannel.h>
|
||||
#include <polypcore/sink.h>
|
||||
#include <polypcore/module.h>
|
||||
#include <polypcore/util.h>
|
||||
#include <polypcore/modargs.h>
|
||||
#include <polypcore/xmalloc.h>
|
||||
#include <polypcore/log.h>
|
||||
|
||||
#include "module-pipe-sink-symdef.h"
|
||||
|
|
|
|||
|
|
@ -33,12 +33,13 @@
|
|||
#include <unistd.h>
|
||||
#include <limits.h>
|
||||
|
||||
#include <polyp/xmalloc.h>
|
||||
|
||||
#include <polypcore/iochannel.h>
|
||||
#include <polypcore/source.h>
|
||||
#include <polypcore/module.h>
|
||||
#include <polypcore/util.h>
|
||||
#include <polypcore/modargs.h>
|
||||
#include <polypcore/xmalloc.h>
|
||||
#include <polypcore/log.h>
|
||||
|
||||
#include "module-pipe-source-symdef.h"
|
||||
|
|
|
|||
|
|
@ -42,6 +42,8 @@
|
|||
|
||||
#include "../polypcore/winsock.h"
|
||||
|
||||
#include <polyp/xmalloc.h>
|
||||
|
||||
#include <polypcore/module.h>
|
||||
#include <polypcore/socket-server.h>
|
||||
#include <polypcore/socket-util.h>
|
||||
|
|
@ -49,7 +51,6 @@
|
|||
#include <polypcore/modargs.h>
|
||||
#include <polypcore/log.h>
|
||||
#include <polypcore/native-common.h>
|
||||
#include <polypcore/xmalloc.h>
|
||||
|
||||
#ifdef USE_TCP_SOCKETS
|
||||
#define SOCKET_DESCRIPTION "(TCP sockets)"
|
||||
|
|
|
|||
|
|
@ -27,10 +27,11 @@
|
|||
#include <assert.h>
|
||||
#include <math.h>
|
||||
|
||||
#include <polyp/xmalloc.h>
|
||||
|
||||
#include <polypcore/sink-input.h>
|
||||
#include <polypcore/module.h>
|
||||
#include <polypcore/modargs.h>
|
||||
#include <polypcore/xmalloc.h>
|
||||
#include <polypcore/namereg.h>
|
||||
#include <polypcore/log.h>
|
||||
|
||||
|
|
|
|||
|
|
@ -41,6 +41,7 @@
|
|||
#include <sys/audio.h>
|
||||
|
||||
#include <polyp/mainloop-signal.h>
|
||||
#include <polyp/xmalloc.h>
|
||||
|
||||
#include <polypcore/iochannel.h>
|
||||
#include <polypcore/sink.h>
|
||||
|
|
@ -49,7 +50,6 @@
|
|||
#include <polypcore/sample-util.h>
|
||||
#include <polypcore/util.h>
|
||||
#include <polypcore/modargs.h>
|
||||
#include <polypcore/xmalloc.h>
|
||||
#include <polypcore/log.h>
|
||||
|
||||
#include "module-solaris-symdef.h"
|
||||
|
|
|
|||
|
|
@ -32,13 +32,13 @@
|
|||
#include <stdlib.h>
|
||||
|
||||
#include <polyp/version.h>
|
||||
#include <polyp/xmalloc.h>
|
||||
|
||||
#include <polypcore/module.h>
|
||||
#include <polypcore/util.h>
|
||||
#include <polypcore/modargs.h>
|
||||
#include <polypcore/log.h>
|
||||
#include <polypcore/core-subscribe.h>
|
||||
#include <polypcore/xmalloc.h>
|
||||
#include <polypcore/sink-input.h>
|
||||
#include <polypcore/pdispatch.h>
|
||||
#include <polypcore/pstream.h>
|
||||
|
|
|
|||
|
|
@ -32,12 +32,13 @@
|
|||
#include <stdlib.h>
|
||||
#include <ctype.h>
|
||||
|
||||
#include <polyp/xmalloc.h>
|
||||
|
||||
#include <polypcore/module.h>
|
||||
#include <polypcore/util.h>
|
||||
#include <polypcore/modargs.h>
|
||||
#include <polypcore/log.h>
|
||||
#include <polypcore/core-subscribe.h>
|
||||
#include <polypcore/xmalloc.h>
|
||||
#include <polypcore/sink-input.h>
|
||||
#include <polypcore/util.h>
|
||||
#include <polyp/volume.h>
|
||||
|
|
|
|||
|
|
@ -29,6 +29,8 @@
|
|||
|
||||
#include <polyp/mainloop-api.h>
|
||||
|
||||
#include <polyp/xmalloc.h>
|
||||
|
||||
#include <polypcore/sink.h>
|
||||
#include <polypcore/source.h>
|
||||
#include <polypcore/module.h>
|
||||
|
|
@ -36,7 +38,6 @@
|
|||
#include <polypcore/sample-util.h>
|
||||
#include <polypcore/util.h>
|
||||
#include <polypcore/log.h>
|
||||
#include <polypcore/xmalloc.h>
|
||||
|
||||
#include "module-waveout-symdef.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -31,11 +31,12 @@
|
|||
#include <X11/Xlib.h>
|
||||
#include <X11/XKBlib.h>
|
||||
|
||||
#include <polyp/xmalloc.h>
|
||||
|
||||
#include <polypcore/iochannel.h>
|
||||
#include <polypcore/sink.h>
|
||||
#include <polypcore/core-scache.h>
|
||||
#include <polypcore/modargs.h>
|
||||
#include <polypcore/xmalloc.h>
|
||||
#include <polypcore/namereg.h>
|
||||
#include <polypcore/log.h>
|
||||
#include <polypcore/x11wrap.h>
|
||||
|
|
|
|||
|
|
@ -32,11 +32,12 @@
|
|||
#include <X11/Xlib.h>
|
||||
#include <X11/Xatom.h>
|
||||
|
||||
#include <polyp/xmalloc.h>
|
||||
|
||||
#include <polypcore/module.h>
|
||||
#include <polypcore/sink.h>
|
||||
#include <polypcore/core-scache.h>
|
||||
#include <polypcore/modargs.h>
|
||||
#include <polypcore/xmalloc.h>
|
||||
#include <polypcore/namereg.h>
|
||||
#include <polypcore/log.h>
|
||||
#include <polypcore/x11wrap.h>
|
||||
|
|
|
|||
|
|
@ -29,7 +29,8 @@
|
|||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include <polypcore/xmalloc.h>
|
||||
#include <polyp/xmalloc.h>
|
||||
|
||||
#include <polypcore/autoload.h>
|
||||
#include <polypcore/sink.h>
|
||||
#include <polypcore/source.h>
|
||||
|
|
|
|||
|
|
@ -31,6 +31,8 @@
|
|||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include <polyp/xmalloc.h>
|
||||
|
||||
#include <polypcore/module.h>
|
||||
#include <polypcore/llist.h>
|
||||
#include <polypcore/sink.h>
|
||||
|
|
@ -38,7 +40,6 @@
|
|||
#include <polypcore/memblockq.h>
|
||||
#include <polypcore/log.h>
|
||||
#include <polypcore/util.h>
|
||||
#include <polypcore/xmalloc.h>
|
||||
#include <polypcore/modargs.h>
|
||||
#include <polypcore/namereg.h>
|
||||
#include <polypcore/sample-util.h>
|
||||
|
|
|
|||
|
|
@ -32,6 +32,8 @@
|
|||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include <polyp/xmalloc.h>
|
||||
|
||||
#include <polypcore/module.h>
|
||||
#include <polypcore/llist.h>
|
||||
#include <polypcore/source.h>
|
||||
|
|
@ -39,7 +41,6 @@
|
|||
#include <polypcore/memblockq.h>
|
||||
#include <polypcore/log.h>
|
||||
#include <polypcore/util.h>
|
||||
#include <polypcore/xmalloc.h>
|
||||
#include <polypcore/modargs.h>
|
||||
#include <polypcore/namereg.h>
|
||||
|
||||
|
|
|
|||
|
|
@ -38,9 +38,10 @@
|
|||
#include <sys/filio.h>
|
||||
#endif
|
||||
|
||||
#include <polyp/xmalloc.h>
|
||||
|
||||
#include <polypcore/util.h>
|
||||
#include <polypcore/log.h>
|
||||
#include <polypcore/xmalloc.h>
|
||||
|
||||
#include "sap.h"
|
||||
#include "sdp.h"
|
||||
|
|
|
|||
|
|
@ -31,9 +31,10 @@
|
|||
#include <arpa/inet.h>
|
||||
#include <string.h>
|
||||
|
||||
#include <polyp/xmalloc.h>
|
||||
|
||||
#include <polypcore/util.h>
|
||||
#include <polypcore/log.h>
|
||||
#include <polypcore/xmalloc.h>
|
||||
|
||||
#include "sdp.h"
|
||||
#include "rtp.h"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue