summaryrefslogtreecommitdiffstats
path: root/src/pulsecore/sample-util.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2009-01-08 23:31:05 +0100
committerLennart Poettering <lennart@poettering.net>2009-01-08 23:31:05 +0100
commit98049fbf81fae18707281642f6ae5b23632bd068 (patch)
tree6c3cd4a052f31181551adeffaaba18af60b38465 /src/pulsecore/sample-util.c
parent7b52840adc2ba1eb045856995c6c430c493c5cf5 (diff)
make things compile again
Diffstat (limited to 'src/pulsecore/sample-util.c')
-rw-r--r--src/pulsecore/sample-util.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pulsecore/sample-util.c b/src/pulsecore/sample-util.c
index 414c1c81..bce30926 100644
--- a/src/pulsecore/sample-util.c
+++ b/src/pulsecore/sample-util.c
@@ -28,6 +28,7 @@
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
+#include <errno.h>
#include <liboil/liboilfuncs.h>
#include <liboil/liboil.h>
@@ -35,6 +36,7 @@
#include <pulse/timeval.h>
#include <pulsecore/log.h>
+#include <pulsecore/core-error.h>
#include <pulsecore/macro.h>
#include <pulsecore/g711.h>
@@ -478,7 +480,6 @@ size_t pa_mix(
case PA_SAMPLE_FLOAT32RE: {
unsigned channel = 0;
- float linear[PA_CHANNELS_MAX];
calc_linear_float_stream_volumes(streams, nstreams, volume, spec);