summaryrefslogtreecommitdiffstats
path: root/polyp/core.h
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.h
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.h')
-rw-r--r--polyp/core.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/polyp/core.h b/polyp/core.h
index 799661af..09e58b46 100644
--- a/polyp/core.h
+++ b/polyp/core.h
@@ -27,6 +27,7 @@
#include "mainloop-api.h"
#include "sample.h"
#include "memblock.h"
+#include "resampler.h"
struct pa_core {
struct pa_mainloop_api *mainloop;
@@ -54,7 +55,7 @@ struct pa_core {
struct pa_time_event *scache_auto_unload_event;
- int resample_method;
+ enum pa_resample_method resample_method;
};
struct pa_core* pa_core_new(struct pa_mainloop_api *m);