summaryrefslogtreecommitdiffstats
path: root/polyp/core.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2004-11-20 16:23:53 +0000
committerLennart Poettering <lennart@poettering.net>2004-11-20 16:23:53 +0000
commit5f647c8fef33f35210d550ad1477ef43520b32a3 (patch)
treec6eb28bbbca0966dede1d7635f67b471fef06924 /polyp/core.c
parent8641af3c6d11e3e6710cb946e9a93d0e9f639519 (diff)
* add µlaw/alaw support
* abstracted resampler API * add integer-only resampler ("trivial") * show used resampler wherever useful * add mixing/volume adjusting for float32ne and u8 git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@294 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'polyp/core.c')
-rw-r--r--polyp/core.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/polyp/core.c b/polyp/core.c
index 19e0425f..03682fdc 100644
--- a/polyp/core.c
+++ b/polyp/core.c
@@ -27,7 +27,6 @@
#include <assert.h>
#include <stdio.h>
#include <signal.h>
-#include <samplerate.h>
#include "core.h"
#include "module.h"
@@ -82,7 +81,7 @@ struct pa_core* pa_core_new(struct pa_mainloop_api *m) {
c->module_idle_time = 20;
c->scache_idle_time = 20;
- c->resample_method = SRC_SINC_FASTEST;
+ c->resample_method = PA_RESAMPLER_SRC_SINC_FASTEST;
pa_property_init(c);