mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-11 13:30:02 -05:00
Fixup #include directives according to Coding Style
Use #include "header.h" if functionality of header.h is implemented and #include <header.h> if functionality of header.h is used.
This commit is contained in:
parent
ecf09f2cd6
commit
b3721a12c5
21 changed files with 32 additions and 41 deletions
|
|
@ -26,6 +26,8 @@
|
|||
#include <unistd.h>
|
||||
#include <errno.h>
|
||||
|
||||
#include <pulse/xmalloc.h>
|
||||
|
||||
#include <pulsecore/atomic.h>
|
||||
#include <pulsecore/log.h>
|
||||
#include <pulsecore/thread.h>
|
||||
|
|
@ -33,10 +35,9 @@
|
|||
#include <pulsecore/core-util.h>
|
||||
#include <pulsecore/llist.h>
|
||||
#include <pulsecore/flist.h>
|
||||
#include <pulse/xmalloc.h>
|
||||
#include <pulsecore/fdsem.h>
|
||||
|
||||
#include "asyncq.h"
|
||||
#include "fdsem.h"
|
||||
|
||||
#define ASYNCQ_SIZE 256
|
||||
|
||||
|
|
|
|||
|
|
@ -55,8 +55,7 @@
|
|||
#include <pulsecore/macro.h>
|
||||
#include <pulsecore/thread-mq.h>
|
||||
#include <pulsecore/shared.h>
|
||||
|
||||
#include "endianmacros.h"
|
||||
#include <pulsecore/endianmacros.h>
|
||||
|
||||
#include "protocol-esound.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -36,11 +36,11 @@
|
|||
#include <pulsecore/log.h>
|
||||
#include <pulsecore/macro.h>
|
||||
#include <pulsecore/strbuf.h>
|
||||
#include <pulsecore/remap.h>
|
||||
|
||||
#include "ffmpeg/avcodec.h"
|
||||
|
||||
#include "resampler.h"
|
||||
#include "remap.h"
|
||||
|
||||
/* Number of samples of extra space we allow the resamplers to return */
|
||||
#define EXTRA_FRAMES 128
|
||||
|
|
|
|||
|
|
@ -37,9 +37,9 @@
|
|||
#include <pulsecore/macro.h>
|
||||
#include <pulsecore/g711.h>
|
||||
#include <pulsecore/core-util.h>
|
||||
#include <pulsecore/endianmacros.h>
|
||||
|
||||
#include "sample-util.h"
|
||||
#include "endianmacros.h"
|
||||
|
||||
#define PA_SILENCE_MAX (PA_PAGE_SIZE*16)
|
||||
|
||||
|
|
|
|||
|
|
@ -31,8 +31,7 @@
|
|||
#include <pulsecore/sconv.h>
|
||||
#include <pulsecore/macro.h>
|
||||
#include <pulsecore/log.h>
|
||||
|
||||
#include "endianmacros.h"
|
||||
#include <pulsecore/endianmacros.h>
|
||||
|
||||
#include "sconv-s16le.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -29,10 +29,10 @@
|
|||
|
||||
#include <pulsecore/g711.h>
|
||||
#include <pulsecore/macro.h>
|
||||
#include <pulsecore/endianmacros.h>
|
||||
|
||||
#include "endianmacros.h"
|
||||
#include "sconv-s16le.h"
|
||||
#include "sconv-s16be.h"
|
||||
#include <pulsecore/sconv-s16le.h>
|
||||
#include <pulsecore/sconv-s16be.h>
|
||||
|
||||
#include "sconv.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -29,8 +29,7 @@
|
|||
|
||||
#include <pulsecore/g711.h>
|
||||
#include <pulsecore/macro.h>
|
||||
|
||||
#include "endianmacros.h"
|
||||
#include <pulsecore/endianmacros.h>
|
||||
|
||||
#include "cpu-x86.h"
|
||||
#include "sconv.h"
|
||||
|
|
|
|||
|
|
@ -29,11 +29,11 @@
|
|||
#include <pulsecore/macro.h>
|
||||
#include <pulsecore/g711.h>
|
||||
#include <pulsecore/core-util.h>
|
||||
#include <pulsecore/endianmacros.h>
|
||||
|
||||
#include "cpu-arm.h"
|
||||
|
||||
#include "sample-util.h"
|
||||
#include "endianmacros.h"
|
||||
|
||||
#if defined (__arm__) && defined (HAVE_ARMV6)
|
||||
|
||||
|
|
|
|||
|
|
@ -28,9 +28,9 @@
|
|||
#include <pulsecore/macro.h>
|
||||
#include <pulsecore/g711.h>
|
||||
#include <pulsecore/core-util.h>
|
||||
#include <pulsecore/endianmacros.h>
|
||||
|
||||
#include "sample-util.h"
|
||||
#include "endianmacros.h"
|
||||
|
||||
static void pa_volume_u8_c(uint8_t *samples, int32_t *volumes, unsigned channels, unsigned length) {
|
||||
unsigned channel;
|
||||
|
|
|
|||
|
|
@ -31,11 +31,11 @@
|
|||
#include <pulsecore/macro.h>
|
||||
#include <pulsecore/g711.h>
|
||||
#include <pulsecore/core-util.h>
|
||||
#include <pulsecore/endianmacros.h>
|
||||
|
||||
#include "cpu-x86.h"
|
||||
|
||||
#include "sample-util.h"
|
||||
#include "endianmacros.h"
|
||||
|
||||
#if defined (__i386__) || defined (__amd64__)
|
||||
/* in s: 2 int16_t samples
|
||||
|
|
|
|||
|
|
@ -31,11 +31,11 @@
|
|||
#include <pulsecore/macro.h>
|
||||
#include <pulsecore/g711.h>
|
||||
#include <pulsecore/core-util.h>
|
||||
#include <pulsecore/endianmacros.h>
|
||||
|
||||
#include "cpu-x86.h"
|
||||
|
||||
#include "sample-util.h"
|
||||
#include "endianmacros.h"
|
||||
|
||||
#if defined (__i386__) || defined (__amd64__)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue