[pulseaudio-discuss] [PATCH 2/2] resampler: Changed style of includes

Alexander E. Patrakov patrakov at gmail.com
Sun Aug 17 01:53:08 PDT 2014


There was no code that included files from other directories using
the #include "..." style before.

Signed-off-by: Alexander E. Patrakov <patrakov at gmail.com>
---
 src/pulsecore/resampler/ffmpeg.c        | 2 +-
 src/pulsecore/resampler/libsamplerate.c | 2 +-
 src/pulsecore/resampler/peaks.c         | 2 +-
 src/pulsecore/resampler/trivial.c       | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/pulsecore/resampler/ffmpeg.c b/src/pulsecore/resampler/ffmpeg.c
index 9e35236..cc1e3e4 100644
--- a/src/pulsecore/resampler/ffmpeg.c
+++ b/src/pulsecore/resampler/ffmpeg.c
@@ -26,7 +26,7 @@
 #include <pulse/xmalloc.h>
 #include "pulsecore/ffmpeg/avcodec.h"
 
-#include "pulsecore/resampler.h"
+#include <pulsecore/resampler.h>
 
 struct ffmpeg_data { /* data specific to ffmpeg */
     struct AVResampleContext *state;
diff --git a/src/pulsecore/resampler/libsamplerate.c b/src/pulsecore/resampler/libsamplerate.c
index 48ea594..34a9ba4 100644
--- a/src/pulsecore/resampler/libsamplerate.c
+++ b/src/pulsecore/resampler/libsamplerate.c
@@ -25,7 +25,7 @@
 
 #include <samplerate.h>
 
-#include "pulsecore/resampler.h"
+#include <pulsecore/resampler.h>
 
 static unsigned libsamplerate_resample(pa_resampler *r, const pa_memchunk *input, unsigned in_n_frames, pa_memchunk *output, unsigned *out_n_frames) {
     SRC_DATA data;
diff --git a/src/pulsecore/resampler/peaks.c b/src/pulsecore/resampler/peaks.c
index ef9e99e..d0b7cd0 100644
--- a/src/pulsecore/resampler/peaks.c
+++ b/src/pulsecore/resampler/peaks.c
@@ -26,7 +26,7 @@
 #include <pulse/xmalloc.h>
 #include <math.h>
 
-#include "pulsecore/resampler.h"
+#include <pulsecore/resampler.h>
 
 struct peaks_data { /* data specific to the peak finder pseudo resampler */
     unsigned o_counter;
diff --git a/src/pulsecore/resampler/trivial.c b/src/pulsecore/resampler/trivial.c
index 09c81ee..be15295 100644
--- a/src/pulsecore/resampler/trivial.c
+++ b/src/pulsecore/resampler/trivial.c
@@ -25,7 +25,7 @@
 
 #include <pulse/xmalloc.h>
 
-#include "pulsecore/resampler.h"
+#include <pulsecore/resampler.h>
 
 struct trivial_data { /* data specific to the trivial resampler */
     unsigned o_counter;
-- 
2.0.4



More information about the pulseaudio-discuss mailing list