]> code.delx.au - pulseaudio/blobdiff - polyp/core.h
* add µlaw/alaw support
[pulseaudio] / polyp / core.h
index 1438bf7209ae464ad8ce4e63ecf16611b303b846..09e58b467112669ed5e980356d9f4f1b0fca2ebc 100644 (file)
@@ -7,7 +7,7 @@
   This file is part of polypaudio.
  
   polypaudio is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License as published
+  it under the terms of the GNU Lesser General Public License as published
   by the Free Software Foundation; either version 2 of the License,
   or (at your option) any later version.
  
@@ -16,7 +16,7 @@
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
   General Public License for more details.
  
-  You should have received a copy of the GNU General Public License
+  You should have received a copy of the GNU Lesser General Public License
   along with polypaudio; if not, write to the Free Software
   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
   USA.
@@ -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);